summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/message.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/message.m')
-rw-r--r--test/SemaObjC/message.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/message.m b/test/SemaObjC/message.m
index 57b1097..fed3961 100644
--- a/test/SemaObjC/message.m
+++ b/test/SemaObjC/message.m
@@ -87,7 +87,7 @@ struct S { int X; } S;
int test5(int X) {
int a = [X somemsg]; // expected-warning {{receiver type 'int' is not 'id'}} \
expected-warning {{method '-somemsg' not found}} \
- expected-warning {{incompatible pointer to integer conversion initializing 'id', expected 'int'}}
+ expected-warning {{incompatible pointer to integer conversion initializing 'int' with an expression of type 'id'}}
int b = [S somemsg]; // expected-error {{bad receiver type 'struct S'}}
}
OpenPOWER on IntegriCloud