diff options
Diffstat (limited to 'clang/test/SemaObjC/property-12.m')
| -rw-r--r-- | clang/test/SemaObjC/property-12.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaObjC/property-12.m b/clang/test/SemaObjC/property-12.m index bdd026d32fc..659ffa1d050 100644 --- a/clang/test/SemaObjC/property-12.m +++ b/clang/test/SemaObjC/property-12.m @@ -1,15 +1,15 @@ // RUN: clang -fsyntax-only -verify %s @protocol P0 -@property(readonly,assign) id X; // expected-error {{property attributes 'readonly' and 'assign' are mutually exclusive}} +@property(readonly,assign) id X; // expected-warning {{property attributes 'readonly' and 'assign' are mutually exclusive}} @end @protocol P1 -@property(readonly,retain) id X; // expected-error {{property attributes 'readonly' and 'retain' are mutually exclusive}} +@property(readonly,retain) id X; // expected-warning {{property attributes 'readonly' and 'retain' are mutually exclusive}} @end @protocol P2 -@property(readonly,copy) id X; // expected-error {{property attributes 'readonly' and 'copy' are mutually exclusive}} +@property(readonly,copy) id X; // expected-warning {{property attributes 'readonly' and 'copy' are mutually exclusive}} @end @protocol P3 |

