diff options
author | John McCall <rjmccall@apple.com> | 2010-08-26 17:42:30 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-26 17:42:30 +0000 |
commit | cebc3769077bb22003dc47bd22868d0b4c6ce106 (patch) | |
tree | 1ad02ffdd6ce14401865f8d881b6a4675334395a | |
parent | 9e46b8cfb3e6c6feab5664744f52f06a40f9566b (diff) |
...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).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112199 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Parser/declarators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/declarators.c b/test/Parser/declarators.c index ac960cd263..e245adb7cd 100644 --- a/test/Parser/declarators.c +++ b/test/Parser/declarators.c @@ -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}} |