YouCompleteMe/cpp/llvm/tools/clang/test/Driver/no-objc-default-synthesize-properties.m

11 lines
381 B
Mathematica
Raw Normal View History

// RUN: %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: warning: argument unused during compilation: '-fno-objc-default-synthesize-properties'
// CHECK: warning: argument unused during compilation: '-fobjc-default-synthesize-properties'