diff options
Diffstat (limited to 'clang/test/Parser/objc-foreach-error-1.m')
| -rw-r--r-- | clang/test/Parser/objc-foreach-error-1.m | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/clang/test/Parser/objc-foreach-error-1.m b/clang/test/Parser/objc-foreach-error-1.m deleted file mode 100644 index 16a7ea8e3dc..00000000000 --- a/clang/test/Parser/objc-foreach-error-1.m +++ /dev/null @@ -1,24 +0,0 @@ -// RUN: clang-cc -fsyntax-only -verify %s - -ce MyList // expected-error {{invalid token after top level declarator}} -@end - - -@implementation MyList -- (unsigned int)countByEnumeratingWithState: (struct __objcFastEnumerationState *)state objects: (id *)items count:(unsigned int)stackcount -{ - return 0; -} -@end - - -int LOOP(); - -@implementation MyList (BasicTest) // expected-error {{cannot find interface declaration for 'MyList'}} -- (void)compilerTestAgainst { -MyList * el; // expected-error {{use of undeclared identifier 'MyList'}} - for (el in @"foo") // expected-error {{use of undeclared identifier 'el'}} - { LOOP(); } -} -@end - |

