summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/arc-unavailable-system-function.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/arc-unavailable-system-function.m')
-rw-r--r--test/SemaObjC/arc-unavailable-system-function.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/arc-unavailable-system-function.m b/test/SemaObjC/arc-unavailable-system-function.m
index 54ceaaf..e9e2179 100644
--- a/test/SemaObjC/arc-unavailable-system-function.m
+++ b/test/SemaObjC/arc-unavailable-system-function.m
@@ -3,11 +3,11 @@
# 1 "<command line>"
# 1 "/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h" 1 3
-id * foo(); // expected-note {{'foo' has been explicitly marked unavailable here}}
+id * foo(); // expected-note {{declaration uses type that is ill-formed in ARC}}
# 1 "arc-unavailable-system-function.m" 2
void ret() {
- foo(); // expected-error {{'foo' is unavailable: this system declaration uses an unsupported type}}
+ foo(); // expected-error {{'foo' is unavailable in ARC}}
}
OpenPOWER on IntegriCloud