mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 14:05:49 -04:00

The warning this inhibits, -Wobjc-root-class, is opt-in for now. However, all clang unit tests that would trigger the warning have been updated to use -Wno-objc-root-class. <rdar://problem/7446698> llvm-svn: 154187
16 lines
280 B
Objective-C
16 lines
280 B
Objective-C
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
|
|
|
|
@interface I1
|
|
{
|
|
int value;
|
|
int value2;
|
|
}
|
|
@property int value;
|
|
@property int value2;
|
|
@end
|
|
|
|
@implementation I1
|
|
@synthesize value, - value2; // expected-error{{expected a property name}}
|
|
@synthesize value2;
|
|
@end
|