1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
14 lines
316 B
Objective-C
14 lines
316 B
Objective-C
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
@interface A
|
|
+(void) foo:(int) a;
|
|
@end
|
|
|
|
int main() {
|
|
id a;
|
|
[a bla:0 6:7]; // expected-error {{expected ']'}}
|
|
[A foo bar]; // expected-error {{expected ':'}}
|
|
[A foo bar bar1]; // expected-error {{expected ':'}}
|
|
[] {}; // expected-error {{expected expression}}
|
|
}
|