freebsd-dev/test/SemaObjC/missing-method-context.m
2010-01-01 10:34:51 +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}}