blob: 0608117dd660eac6e502ed03165a73b4c8d7f35e [file] [log] [blame]
// RUN: %clang_cc1 %s -triple spir-unknown-unknown -emit-llvm -O0 -o - | FileCheck %s
void bar(__generic volatile unsigned int* ptr)
{
//CHECK: addrspacecast i32 addrspace(4)* %{{.+}} to i32 addrspace(1)*
auto gptr = (__global volatile unsigned int*)ptr;
}