aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/address-space-compound-literal.c
blob: 37d9c7bc58f5c012c9571a2135f6885118842582 (plain) (blame)
1
2
3
4
5
// RUN: %clang_cc1 -emit-llvm < %s | grep "internal addrspace(1) global i32 1"

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