xref: /llvm-project/clang/test/Parser/missing-end-3.m (revision 0f1c1be1968076d6f96f8a7bcc4a15cf195ecd97)
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3// expected-note@+1 {{previous definition is here}}
4@interface blah { // expected-note {{class started here}}
5    @private
6}
7// since I forgot the @end here it should say something
8
9// expected-error@+1 {{duplicate interface definition for class 'blah'}}
10@interface blah  // expected-error {{missing '@end'}}
11@end
12
13