summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/invalid-receiver.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/invalid-receiver.m')
-rw-r--r--test/SemaObjC/invalid-receiver.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/invalid-receiver.m b/test/SemaObjC/invalid-receiver.m
index 16f0155..1174dd2 100644
--- a/test/SemaObjC/invalid-receiver.m
+++ b/test/SemaObjC/invalid-receiver.m
@@ -5,5 +5,5 @@ typedef struct NotAClass {
} NotAClass;
void foo() {
- [NotAClass nonexistent_method]; // expected-error {{invalid receiver to message expression}}
+ [NotAClass nonexistent_method]; // expected-error {{receiver type 'NotAClass' (aka 'struct NotAClass') is not an Objective-C class}}
}
OpenPOWER on IntegriCloud