summaryrefslogtreecommitdiffstats
path: root/test/Driver/no-objc-default-synthesize-properties.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/no-objc-default-synthesize-properties.m')
-rw-r--r--test/Driver/no-objc-default-synthesize-properties.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Driver/no-objc-default-synthesize-properties.m b/test/Driver/no-objc-default-synthesize-properties.m
index e380514..a034926 100644
--- a/test/Driver/no-objc-default-synthesize-properties.m
+++ b/test/Driver/no-objc-default-synthesize-properties.m
@@ -1,4 +1,4 @@
-// RUN: %clang -fsyntax-only -fno-objc-default-synthesize-properties -fobjc-default-synthesize-properties %s 2>&1 | FileCheck %s
+// RUN: not %clang -fsyntax-only -fno-objc-default-synthesize-properties -fobjc-default-synthesize-properties %s 2>&1 | FileCheck %s
@interface I
@property int P;
@@ -6,5 +6,5 @@
@implementation I
@end
-// CHECK: warning: argument unused during compilation: '-fno-objc-default-synthesize-properties'
-// CHECK: warning: argument unused during compilation: '-fobjc-default-synthesize-properties'
+// CHECK: error: unknown argument: '-fno-objc-default-synthesize-properties'
+// CHECK: error: unknown argument: '-fobjc-default-synthesize-properties'
OpenPOWER on IntegriCloud