llvm-for-llvmta/tools/clang/test/Parser/missing-end-3.m

11 lines
288 B
Mathematica
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// rdar://8283484
@interface blah { // expected-note {{class started here}}
@private
}
// since I forgot the @end here it should say something
@interface blah // expected-error {{missing '@end'}}
@end // and Unknown type name 'end' here