summaryrefslogtreecommitdiff
path: root/test/Sema/attr-aligned.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/attr-aligned.c')
-rw-r--r--test/Sema/attr-aligned.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/attr-aligned.c b/test/Sema/attr-aligned.c
index 0a2698ec91afd..b8d2fc6863d27 100644
--- a/test/Sema/attr-aligned.c
+++ b/test/Sema/attr-aligned.c
@@ -3,6 +3,9 @@
int x __attribute__((aligned(3))); // expected-error {{requested alignment is not a power of 2}}
int y __attribute__((aligned(1 << 29))); // expected-error {{requested alignment must be 268435456 bytes or smaller}}
+// PR26444
+int y __attribute__((aligned(1 << 28)));
+
// PR3254
short g0[3] __attribute__((aligned));
short g0_chk[__alignof__(g0) == 16 ? 1 : -1];