llvm-for-llvmta/tools/clang/test/Driver/no-objc-default-synthesize-...

11 lines
345 B
Mathematica
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: not %clang -fsyntax-only -fno-objc-default-synthesize-properties -fobjc-default-synthesize-properties %s 2>&1 | FileCheck %s
@interface I
@property int P;
@end
@implementation I
@end
// CHECK: error: unknown argument: '-fno-objc-default-synthesize-properties'
// CHECK: error: unknown argument: '-fobjc-default-synthesize-properties'