aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-02-19 08:45:23 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-02-19 08:45:23 +0000
commit6beb16578ebbe56b88318a0f062cd01fcf2a459c (patch)
treefb86740098480a8f7495dc9efcd8d4bab0dc42df
parent3450a55f403f4b55120d4d5403ac4ebfab3a55d0 (diff)
fix test case
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65037 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/struct-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/struct-decl.c b/test/Sema/struct-decl.c
index ec006b484f..cdc9eaae3b 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{{fields must have a constant size}}
+ char name2[(int)&((struct bar *)0)->n - 1]; //expected-error{{array size is negative}}
};
// PR3430