Author: rjmccall
Date: Thu Aug 26 12:42:30 2010
New Revision: 112199

URL: http://llvm.org/viewvc/llvm-project?rev=112199&view=rev
Log:
...I forgot to check my new test after adding it, and lo, there's slightly 
different
behavior in C than in C++ (which is what the original test case was).


Modified:
    cfe/trunk/test/Parser/declarators.c

Modified: cfe/trunk/test/Parser/declarators.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/declarators.c?rev=112199&r1=112198&r2=112199&view=diff
==============================================================================
--- cfe/trunk/test/Parser/declarators.c (original)
+++ cfe/trunk/test/Parser/declarators.c Thu Aug 26 12:42:30 2010
@@ -96,4 +96,4 @@
 void *test14b = (void*)test14a; // Make sure test14a didn't get skipped.
 
 // rdar://problem/8358508
-long struct X {} test15(); // expected-error {{'long struct' is invalid}}
+long struct X { int x; } test15(); // expected-error {{'long struct' is 
invalid}}


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

Reply via email to