summaryrefslogtreecommitdiff
path: root/test/SemaObjC/objcbridge-attribute.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/objcbridge-attribute.m')
-rw-r--r--test/SemaObjC/objcbridge-attribute.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/objcbridge-attribute.m b/test/SemaObjC/objcbridge-attribute.m
index 9cab64ec6b28..c93543caa679 100644
--- a/test/SemaObjC/objcbridge-attribute.m
+++ b/test/SemaObjC/objcbridge-attribute.m
@@ -38,7 +38,7 @@ typedef struct Opaque *OpaqueRef __attribute__((objc_bridge(id))); // expected-e
@interface I
{
- __attribute__((objc_bridge(NSError))) void * color; // expected-error {{'objc_bridge' attribute only applies to structs, unions, and typedefs}};
+ __attribute__((objc_bridge(NSError))) void * color; // expected-error {{'objc_bridge' attribute only applies to structs, unions, classes, and typedefs}};
}
@end