Rafael Espindola | 49b3533 | 2013-09-25 19:07:08 +0000 | [diff] [blame] | 1 | // RUN: not %clang -fsyntax-only -fno-objc-default-synthesize-properties -fobjc-default-synthesize-properties %s 2>&1 | FileCheck %s |
Fariborz Jahanian | e52e2e6 | 2012-04-09 18:20:28 +0000 | [diff] [blame] | 2 | |
| 3 | @interface I |
| 4 | @property int P; |
| 5 | @end |
| 6 | |
| 7 | @implementation I |
| 8 | @end |
Rafael Espindola | 49b3533 | 2013-09-25 19:07:08 +0000 | [diff] [blame] | 9 | // CHECK: error: unknown argument: '-fno-objc-default-synthesize-properties' |
| 10 | // CHECK: error: unknown argument: '-fobjc-default-synthesize-properties' |