method-no-context.m   [plain text]


// RUN: clang-cc -fsyntax-only -verify %s

- im0 { int a; return 0; // expected-error{{missing context for method declaration}}
// expected-error{{expected '}'}}