1 // RUN: %clang_cc1 %s -triple spir-unknown-unknown -emit-llvm -O0 -o - | FileCheck %s
3 void bar(__generic volatile unsigned int* ptr)
5 //CHECK: addrspacecast ptr addrspace(4) %{{.+}} to ptr addrspace(1)
6 auto gptr = (__global volatile unsigned int*)ptr;