android_mt6572_jiabo/external/clang/test/SemaObjC/missing-method-context.m
2025-09-05 16:56:03 +08:00

4 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}}