summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/class-proto-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/class-proto-1.m')
-rw-r--r--test/SemaObjC/class-proto-1.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/class-proto-1.m b/test/SemaObjC/class-proto-1.m
index 246b500..8030976 100644
--- a/test/SemaObjC/class-proto-1.m
+++ b/test/SemaObjC/class-proto-1.m
@@ -23,9 +23,9 @@
@interface E2 <p1,p2,p3> @end // expected-warning {{cannot find protocol definition for 'p3'}}
-@class U1, U2;
+@class U1, U2; // expected-note {{forward class is declared here}}
-@interface E3 : U1 @end // expected-error {{cannot find interface declaration for 'U1', superclass of 'E3'}}
+@interface E3 : U1 @end // expected-error {{attempting to use the forward class 'U1' as superclass of 'E3'}}
@interface I3 : E3 @end
OpenPOWER on IntegriCloud