aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/forward-class-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/forward-class-1.m')
-rw-r--r--test/SemaObjC/forward-class-1.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/forward-class-1.m b/test/SemaObjC/forward-class-1.m
index 3a9a8ac82d..f5ce8892d3 100644
--- a/test/SemaObjC/forward-class-1.m
+++ b/test/SemaObjC/forward-class-1.m
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
+@class FOO, BAR;
@class FOO, BAR; // expected-note {{forward declaration of class here}}
-@class FOO, BAR;
@interface INTF : FOO // expected-error {{attempting to use the forward class 'FOO' as superclass of 'INTF'}}
@end