summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/property-9.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/property-9.m')
-rw-r--r--test/SemaObjC/property-9.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/property-9.m b/test/SemaObjC/property-9.m
index d527a9c..669f9c0 100644
--- a/test/SemaObjC/property-9.m
+++ b/test/SemaObjC/property-9.m
@@ -43,9 +43,9 @@ typedef signed char BOOL;
int _awesome;
}
-@property (readonly) int; // expected-error {{declaration does not declare anything}}
+@property (readonly) int; // expected-warning {{declaration does not declare anything}}
@property (readonly) ; // expected-error {{type name requires a specifier or qualifier}} \
- expected-error {{declaration does not declare anything}}
+ expected-warning {{declaration does not declare anything}}
@property (readonly) int : 4; // expected-error {{property requires fields to be named}}
OpenPOWER on IntegriCloud