summaryrefslogtreecommitdiff
path: root/clang/test/Driver/no-objc-default-synthesize-properties.m
blob: e3805140fa04d66d497179bbb242ba6864c977e3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// 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'