test case for my last patch.

llvm-svn: 80382
This commit is contained in:
Fariborz Jahanian 2009-08-28 17:53:05 +00:00
parent b1771e4e74
commit 18f4107eb7
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// RUN: clang-cc -fsyntax-only -verify %s
- (NSDictionary*) _executeScript:(NSString *)source { // expected-error 2 {{expected a type}} \
// expected-error {{missing context for method declaration}}
Exit: [nilArgs release]; // expected-error {{use of undeclared identifier}}
}
- (NSDictionary *) _setupKernelStandardMode:(NSString *)source { // expected-error 2 {{expected a type}} \
expected-error {{missing context for method declaration}}
Exit: if(_ciKernel && !success ) { // expected-error {{use of undeclared identifier}} // expected-error 2 {{expected}}