summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/missing-method-context.m
blob: 1378b3694012c733394c312da6b7e6494e1f1fa2 (about) (plain)
1
2
3
4
// RUN: %clang_cc1 %s -verify -fsyntax-only
- (void)compilerTestAgainst;  // expected-error {{missing context for method declaration}}

void xx();  // expected-error {{expected method body}}