summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/undef-superclass-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/undef-superclass-1.m')
-rw-r--r--test/SemaObjC/undef-superclass-1.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/undef-superclass-1.m b/test/SemaObjC/undef-superclass-1.m
index 41cf143..e8e03c5 100644
--- a/test/SemaObjC/undef-superclass-1.m
+++ b/test/SemaObjC/undef-superclass-1.m
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
-@class SUPER, Y; // expected-note 2 {{forward class is declared here}}
+@class SUPER, Y; // expected-note 2 {{forward declaration of class here}}
@interface INTF :SUPER // expected-error {{attempting to use the forward class 'SUPER' as superclass of 'INTF'}}
@end
OpenPOWER on IntegriCloud