freebsd-nq/test/SemaObjC/method-no-context.m
2009-06-02 17:58:47 +00:00

5 lines
162 B
Objective-C

// RUN: clang-cc -fsyntax-only -verify %s
- im0 { int a; return 0; // expected-error{{missing context for method declaration}}
// expected-error{{expected '}'}}