summaryrefslogtreecommitdiff
path: root/test/CodeGen/address-space-compound-literal.c
blob: 79d19ed6b6ba2522934e69a5040360f10aecb5c0 (plain)
1
2
3
4
5
// RUN: clang-cc -emit-llvm < %s | grep "internal addrspace(1) global i32 1"

typedef int a __attribute__((address_space(1)));
a* x = &(a){1};