llvm-project/clang/test/SemaObjC/missing-method-context.m

5 lines
189 B
Objective-C

// RUN: clang-cc %s -verify -fsyntax-only
- (void)compilerTestAgainst; // expected-error {{missing context for method declaration}}
void xx(); // expected-error {{expected method body}}