diff options
Diffstat (limited to 'test/SemaObjC/class-impl-1.m')
-rw-r--r-- | test/SemaObjC/class-impl-1.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/class-impl-1.m b/test/SemaObjC/class-impl-1.m index 90a4112c71224..68becaf0ac87e 100644 --- a/test/SemaObjC/class-impl-1.m +++ b/test/SemaObjC/class-impl-1.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s typedef int INTF3; // expected-note {{previous definition is here}} @@ -31,7 +31,7 @@ typedef int INTF3; // expected-note {{previous definition is here}} @implementation INTF4 @end // expected-warning {{cannot find interface declaration for 'INTF4'}} -@class INTF5; +@class INTF5; // expected-note{{forward declaration of class here}} @implementation INTF5 { // expected-warning {{cannot find interface declaration for 'INTF5'}} int x; |