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

11 lines
246 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
// rdar://8283484
@interface blah {
@private
}
// since I forgot the @end here it should say something
@interface blah // expected-error {{missing @end}}
@end // and Unknown type name 'end' here