diff options
Diffstat (limited to 'clang/test/Sema/implicit-int.c')
-rw-r--r-- | clang/test/Sema/implicit-int.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Sema/implicit-int.c b/clang/test/Sema/implicit-int.c index 71a5724a1ff..90fe607e120 100644 --- a/clang/test/Sema/implicit-int.c +++ b/clang/test/Sema/implicit-int.c @@ -22,3 +22,11 @@ h19_insline(n) // expected-warning {{parameter 'n' was not declared, defaulting ILPAD(); // expected-warning {{type specifier missing, defaults to 'int'}} } +struct foo { + __extension__ __attribute__((packed)) // expected-warning {{type specifier missing, defaults to 'int'}} + x : 4; +}; + + + + |