diff options
Diffstat (limited to 'test/Sema/struct-decl.c')
-rw-r--r-- | test/Sema/struct-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/struct-decl.c b/test/Sema/struct-decl.c index e1c7073..6070e87 100644 --- a/test/Sema/struct-decl.c +++ b/test/Sema/struct-decl.c @@ -6,7 +6,7 @@ struct bar { struct foo { char name[(int)&((struct bar *)0)->n]; - char name2[(int)&((struct bar *)0)->n - 1]; //expected-error{{array size is negative}} + char name2[(int)&((struct bar *)0)->n - 1]; //expected-error{{'name2' declared as an array with a negative size}} }; // PR3430 |