Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm < %s | grep "internal addrspace(1) global i32 1" |
Eli Friedman | d15d8c6 | 2009-08-26 20:01:39 +0000 | [diff] [blame] | 2 | |
3 | typedef int a __attribute__((address_space(1))); | ||||
4 | a* x = &(a){1}; | ||||
5 |