freebsd-dev/test/SemaObjC/method-no-context.m
2010-01-01 10:34:51 +00:00

5 lines
164 B
Objective-C

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