From 6beb16578ebbe56b88318a0f062cd01fcf2a459c Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Thu, 19 Feb 2009 08:45:23 +0000 Subject: [PATCH] fix test case git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65037 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/struct-decl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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