Author: zhongxingxu
Date: Thu Feb 19 02:45:23 2009
New Revision: 65037

URL: http://llvm.org/viewvc/llvm-project?rev=65037&view=rev
Log:
fix test case

Modified:
    cfe/trunk/test/Sema/struct-decl.c

Modified: cfe/trunk/test/Sema/struct-decl.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/struct-decl.c?rev=65037&r1=65036&r2=65037&view=diff

==============================================================================
--- cfe/trunk/test/Sema/struct-decl.c (original)
+++ cfe/trunk/test/Sema/struct-decl.c Thu Feb 19 02:45:23 2009
@@ -6,7 +6,7 @@
 
 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


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to