2010-11-10 04:38:00 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
// rdar://8283484
|
2011-12-06 17:25:23 +08:00
|
|
|
@interface blah { // expected-note {{class started here}}
|
2010-11-10 04:38:00 +08:00
|
|
|
@private
|
|
|
|
}
|
|
|
|
// since I forgot the @end here it should say something
|
|
|
|
|
2011-12-06 17:25:23 +08:00
|
|
|
@interface blah // expected-error {{missing '@end'}}
|
2010-11-10 04:38:00 +08:00
|
|
|
@end // and Unknown type name 'end' here
|
|
|
|
|