summaryrefslogtreecommitdiff
path: root/test/Sema/bitfield-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/bitfield-layout.c')
-rw-r--r--test/Sema/bitfield-layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Sema/bitfield-layout.c b/test/Sema/bitfield-layout.c
index 2655fc70cd4c4..d22639147586c 100644
--- a/test/Sema/bitfield-layout.c
+++ b/test/Sema/bitfield-layout.c
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -fsyntax-only -verify -triple=i686-apple-darwin9
+// expected-no-diagnostics
#define CHECK_SIZE(kind, name, size) extern int name##1[sizeof(kind name) == size ? 1 : -1];
#define CHECK_ALIGN(kind, name, size) extern int name##2[__alignof(kind name) == size ? 1 : -1];