xref: /llvm-project/clang/test/SemaObjC/missing-method-context.m (revision 8fbe78f6fc7b41d1a4228c126fcb522131150518)
1// RUN: %clang_cc1 %s -verify -fsyntax-only
2- (void)compilerTestAgainst;  // expected-error {{missing context for method declaration}}
3
4void xx();  // expected-error {{expected method body}}
5