2013-12-22 00:07:40 +00:00
|
|
|
// RUN: not %clang -fsyntax-only -fno-objc-default-synthesize-properties -fobjc-default-synthesize-properties %s 2>&1 | FileCheck %s
|
2012-04-14 14:01:31 +00:00
|
|
|
|
|
|
|
@interface I
|
|
|
|
@property int P;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation I
|
|
|
|
@end
|
2013-12-22 00:07:40 +00:00
|
|
|
// CHECK: error: unknown argument: '-fno-objc-default-synthesize-properties'
|
|
|
|
// CHECK: error: unknown argument: '-fobjc-default-synthesize-properties'
|