Fix a regression in a previous patch that broke implicit
int in a bitfield. Shantonu found this in a gcc testsuite file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69074 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/implicit-int.c b/test/Sema/implicit-int.c
index 71a5724..90fe607 100644
--- a/test/Sema/implicit-int.c
+++ b/test/Sema/implicit-int.c
@@ -22,3 +22,11 @@
ILPAD(); // expected-warning {{type specifier missing, defaults to 'int'}}
}
+struct foo {
+ __extension__ __attribute__((packed)) // expected-warning {{type specifier missing, defaults to 'int'}}
+ x : 4;
+};
+
+
+
+