blob: 304c13638aea6a36a2d718197edd8cc0b340a8e2 [file] [log] [blame]
Christopher Lamb2a72bb32008-02-04 02:31:56 +00001// RUN: clang -emit-llvm < %s 2>&1 | grep 'addrspace(1)' | count 5
2int foo __attribute__((address_space(1)));
3int ban[10] __attribute__((address_space(1)));
4
5int bar() { return foo; }
6
7int baz(int i) { return ban[i]; }