llvm-project/clang/test/Parser/missing-end.m

8 lines
208 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
@interface AAA // expected-note {{class started here}}
{
}
@ x// expected-error{{expected an Objective-C directive after '@'}}
// expected-error{{missing '@end'}}