diff options
Diffstat (limited to 'clang/test/Sema/check-dup-objc-decls-1.m')
-rw-r--r-- | clang/test/Sema/check-dup-objc-decls-1.m | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/clang/test/Sema/check-dup-objc-decls-1.m b/clang/test/Sema/check-dup-objc-decls-1.m deleted file mode 100644 index e3902bd..0000000 --- a/clang/test/Sema/check-dup-objc-decls-1.m +++ /dev/null @@ -1,28 +0,0 @@ -// RUN: clang -fsyntax-only -verify %s - -@interface Foo // expected-error {{previous definition is here}} -@end - -float Foo; // expected-error {{redefinition of 'Foo' as different kind of symbol}} - -@class Bar; // expected-error {{previous definition is here}} - -typedef int Bar; // expected-error {{redefinition of 'Bar' as different kind of symbol}} - -@implementation FooBar // expected-warning {{cannot find interface declaration for 'FooBar'}} -@end - - -typedef int OBJECT; // expected-error {{previous definition is here}} - -@class OBJECT ; // expected-error {{redefinition of 'OBJECT' as different kind of symbol}} - - -typedef int Gorf; // expected-error {{previous definition is here}} - -@interface Gorf @end // expected-error {{redefinition of 'Gorf' as different kind of symbol}} - -void Gorf() // expected-error {{redefinition of 'Gorf' as different kind of symbol}} -{ - int Bar, Foo, FooBar; -} |