freebsd-nq/test/CodeGen/address-space-compound-literal.c

6 lines
146 B
C
Raw Normal View History

2010-01-01 10:34:51 +00:00
// RUN: %clang_cc1 -emit-llvm < %s | grep "internal addrspace(1) global i32 1"
2009-10-14 18:03:49 +00:00
typedef int a __attribute__((address_space(1)));
a* x = &(a){1};