diff options
Diffstat (limited to 'clang/test/CodeGen/attribute-section-data-common.c')
-rw-r--r-- | clang/test/CodeGen/attribute-section-data-common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGen/attribute-section-data-common.c b/clang/test/CodeGen/attribute-section-data-common.c new file mode 100644 index 0000000..2393bfb --- /dev/null +++ b/clang/test/CodeGen/attribute-section-data-common.c @@ -0,0 +1,5 @@ +// 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]; |