...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).

llvm-svn: 112199
This commit is contained in:
John McCall 2010-08-26 17:42:30 +00:00
parent bd2ecc7e68
commit c162d1bbe4
1 changed files with 1 additions and 1 deletions

View File

@ -96,4 +96,4 @@ void test14a();
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}}