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 | c162d1bbe49626669bf964e7974216fa14d222f4 (patch) | |
| tree | 8025ae6267ae2aef50f7e8d7bf435c81bb6dbcd7 /clang/test/Parser/declarators.c | |
| parent | bd2ecc7e68ffdb2ba571b24ab2b6c7d36ffcfdba (diff) | |
| download | bcm5719-llvm-c162d1bbe49626669bf964e7974216fa14d222f4.tar.gz bcm5719-llvm-c162d1bbe49626669bf964e7974216fa14d222f4.zip | |
...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
Diffstat (limited to 'clang/test/Parser/declarators.c')
| -rw-r--r-- | clang/test/Parser/declarators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/declarators.c b/clang/test/Parser/declarators.c index ac960cd263f..e245adb7cde 100644 --- a/clang/test/Parser/declarators.c +++ b/clang/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}} |

