diff options
Diffstat (limited to 'clang/test/Sema/undef-superclass-1.m')
-rw-r--r-- | clang/test/Sema/undef-superclass-1.m | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/clang/test/Sema/undef-superclass-1.m b/clang/test/Sema/undef-superclass-1.m deleted file mode 100644 index 7e124636..0000000 --- a/clang/test/Sema/undef-superclass-1.m +++ /dev/null @@ -1,26 +0,0 @@ -// RUN: clang -fsyntax-only -verify %s - -@class SUPER, Y; - -@interface INTF :SUPER // expected-error {{cannot find interface declaration for 'SUPER', superclass of 'INTF'}} -@end - -@interface SUPER @end - -@interface INTF1 : SUPER -@end - -@interface INTF2 : INTF1 -@end - -@interface INTF3 : Y // expected-error {{cannot find interface declaration for 'Y', superclass of 'INTF3'}} -@end - -@interface INTF1 // expected-error {{duplicate interface declaration for class 'INTF1'}} -@end - -@implementation SUPER -- (void)dealloc { - [super dealloc]; // expected-error {{no super class declared in @interface for 'SUPER'}} -} -@end |