xref: /llvm-project/clang/test/SemaObjC/method-no-context.m (revision bd0642fedee65f410b91c597a6d23bcd2a50f2a1)
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3- im0 { // expected-error{{missing context for method declaration}}
4  int a; return 0;
5