summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/method-no-context.m
blob: 63caa7e399ccbb28190cbf0f5953c56802f29322 (plain)
1
2
3
4
// RUN: clang -cc1 -fsyntax-only -verify %s

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