aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/implicit-int.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-08-26 14:27:30 +0000
committerDouglas Gregor <dgregor@apple.com>2009-08-26 14:27:30 +0000
commit91a2886d558ea6ca7a0bed73ab5acea5ae78eac2 (patch)
tree1d297e1668b7e3054281c81b3896097f33669c10 /test/Sema/implicit-int.c
parenteb1a1b6df0ba8d6d42e16f056cf54a2c87780ffe (diff)
Fix bug in __extension__ handling for declarations, from Abramo
Bagnara with a fix from Enea Zaffanella! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/implicit-int.c')
-rw-r--r--test/Sema/implicit-int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/implicit-int.c b/test/Sema/implicit-int.c
index 9eab953b3f..1a81cc55b5 100644
--- a/test/Sema/implicit-int.c
+++ b/test/Sema/implicit-int.c
@@ -24,7 +24,7 @@ h19_insline(n) // expected-warning {{parameter 'n' was not declared, defaulting
}
struct foo {
- __extension__ __attribute__((packed)) x : 4; // expected-warning {{type specifier missing, defaults to 'int'}}
+ __extension__ __attribute__((packed)) x : 4;
};