llvm-project/clang/test/Parser/objc-messaging-neg-1.m

7 lines
118 B
Objective-C

// RUN: clang-cc -fsyntax-only -verify %s
int main() {
id a;
[a bla:0 6:7]; // expected-error {{expected ']'}}
}