diff options
Diffstat (limited to 'test/SemaObjC/default-synthesize-3.m')
-rw-r--r-- | test/SemaObjC/default-synthesize-3.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/default-synthesize-3.m b/test/SemaObjC/default-synthesize-3.m index dce9edabb90d..fe2b35f61523 100644 --- a/test/SemaObjC/default-synthesize-3.m +++ b/test/SemaObjC/default-synthesize-3.m @@ -33,8 +33,8 @@ __attribute ((objc_requires_property_definitions)) // redundant, just for testi - (id) DeepMustSynthProperty { return 0; } @end -__attribute ((objc_requires_property_definitions)) -@interface Deep(CAT) // expected-error {{attributes may not be specified on a category}} +__attribute ((objc_requires_property_definitions)) // expected-error {{'objc_requires_property_definitions' attribute only applies to Objective-C interfaces}} +@interface Deep(CAT) @end __attribute ((objc_requires_property_definitions)) // expected-error {{'objc_requires_property_definitions' attribute only applies to Objective-C interfaces}} |