llvm-project/clang/test/SemaObjC/invalid-code.m

8 lines
143 B
Objective-C

// RUN: clang-cc %s -fsyntax-only -verify
// rdar://6124613
void test1() {
void *p = @1; // expected-error {{unexpected '@' in program}}
}