aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/method-lookup-3.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/method-lookup-3.m')
-rw-r--r--test/SemaObjC/method-lookup-3.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/SemaObjC/method-lookup-3.m b/test/SemaObjC/method-lookup-3.m
index 18a9982840bd..882b3d1d2123 100644
--- a/test/SemaObjC/method-lookup-3.m
+++ b/test/SemaObjC/method-lookup-3.m
@@ -50,3 +50,8 @@ void f4(id a0, Abstract *a1) {
void f5(id a0, Abstract *a1) {
[ a0 setZ: a1];
}
+
+// pr7861
+void f6(id<A> a0) {
+ Abstract *l = [a0 x];
+}