summaryrefslogtreecommitdiff
path: root/test/SemaObjC/method-warn-unused-attribute.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/method-warn-unused-attribute.m')
-rw-r--r--test/SemaObjC/method-warn-unused-attribute.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/method-warn-unused-attribute.m b/test/SemaObjC/method-warn-unused-attribute.m
index 042f4422f8083..b83dabf3bbdc2 100644
--- a/test/SemaObjC/method-warn-unused-attribute.m
+++ b/test/SemaObjC/method-warn-unused-attribute.m
@@ -9,8 +9,8 @@
void foo(INTF *a) {
[a garf];
- [a fee]; // expected-warning {{ignoring return value of function declared with warn_unused_result attribute}}
- [INTF c]; // expected-warning {{ignoring return value of function declared with warn_unused_result attribute}}
+ [a fee]; // expected-warning {{ignoring return value of function declared with 'warn_unused_result' attribute}}
+ [INTF c]; // expected-warning {{ignoring return value of function declared with 'warn_unused_result' attribute}}
}