blob: 32fa7be0f764d38be8bc0d02112182474e27c32c [file] [log] [blame]
Peter Collingbourne8c25fc52011-09-19 21:14:35 +00001// RUN: %clang_cc1 %s -ffake-address-space-map -emit-llvm -o - | FileCheck %s
2
3__kernel void foo(void) {
4 // CHECK: @foo.i = internal addrspace(2)
5 __local int i;
6 ++i;
7}