summaryrefslogtreecommitdiffstats
path: root/test/Sema/ast-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/ast-print.c')
-rw-r--r--test/Sema/ast-print.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Sema/ast-print.c b/test/Sema/ast-print.c
index 382f0d3..4b2b431 100644
--- a/test/Sema/ast-print.c
+++ b/test/Sema/ast-print.c
@@ -39,3 +39,9 @@ int rvarr(int n, int a[restrict static n]) {
return a[2];
}
+typedef struct {
+ int f;
+} T __attribute__ ((__aligned__));
+
+// CHECK: struct __attribute__((visibility("default"))) S;
+struct __attribute__((visibility("default"))) S;
OpenPOWER on IntegriCloud