summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/ivar-sem-check-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/ivar-sem-check-1.m')
-rw-r--r--test/SemaObjC/ivar-sem-check-1.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/SemaObjC/ivar-sem-check-1.m b/test/SemaObjC/ivar-sem-check-1.m
index 099a7a6..de038f5 100644
--- a/test/SemaObjC/ivar-sem-check-1.m
+++ b/test/SemaObjC/ivar-sem-check-1.m
@@ -9,8 +9,7 @@ typedef int FOO();
int arr[]; // expected-error {{field has incomplete type}}
struct S IC; // expected-error {{field has incomplete type}}
struct T { // expected-note {{previous definition is here}}
- struct T {} X; // expected-error {{nested redefinition of 'T'}} \
- // expected-error {{field has incomplete type}}
+ struct T {} X; // expected-error {{nested redefinition of 'T'}}
}YYY;
FOO BADFUNC; // expected-error {{field 'BADFUNC' declared as a function}}
int kaka; // expected-note {{previous declaration is here}}
OpenPOWER on IntegriCloud