llvm-for-llvmta/tools/clang/test/CodeGen/attribute-section-data-comm...

6 lines
160 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang -S %s -o /dev/null
struct rtxc_snapshot {
int a, b, c, d;
};
__attribute__ ((section("__DATA, __common"))) struct rtxc_snapshot rtxc_log_A[4];