freebsd-dev/test/SemaObjC/missing-method-context.m
2009-12-15 18:49:47 +00:00

5 lines
191 B
Objective-C

// RUN: clang -cc1 %s -verify -fsyntax-only
- (void)compilerTestAgainst; // expected-error {{missing context for method declaration}}
void xx(); // expected-error {{expected method body}}