summaryrefslogtreecommitdiff
path: root/test/CodeGenObjC
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-05-22 19:10:15 +0000
committerAdrian Prantl <aprantl@apple.com>2013-05-22 19:10:15 +0000
commitc32a21747251f49a793900dc816bd6d16706612b (patch)
treee1f140e0cbfc9625160677b51bf59639c5c7039e /test/CodeGenObjC
parentde7bc0d997cc69bd5c337ab82665c2f7ed989138 (diff)
downloadclang-c32a21747251f49a793900dc816bd6d16706612b.tar.gz
Bugfix for r181629:
- The return type should be a pointer to the class type. - Make the condition more specific. rdar://problem/13359718 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjC')
-rw-r--r--test/CodeGenObjC/debug-info-instancetype.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGenObjC/debug-info-instancetype.m b/test/CodeGenObjC/debug-info-instancetype.m
index 7275b63d17..0686160606 100644
--- a/test/CodeGenObjC/debug-info-instancetype.m
+++ b/test/CodeGenObjC/debug-info-instancetype.m
@@ -16,7 +16,8 @@
// CHECK: ![[FOO:[0-9]+]] = metadata {{.*}}; [ DW_TAG_structure_type ] [Foo]
// CHECK: metadata !"+[Foo defaultFoo]", metadata !"", i32 [[@LINE-2]], metadata ![[TYPE:[0-9]+]]
// CHECK: ![[TYPE]] = {{.*}} metadata ![[RESULT:[0-9]+]], i32 {{.*}}, i32 {{.*}}} ; [ DW_TAG_subroutine_type ]
-// CHECK: ![[RESULT]] = metadata !{metadata ![[FOO]],
+// CHECK: ![[RESULT]] = metadata {{.*}}{metadata ![[FOOPTR:[0-9]+]],
+// CHECK: ![[FOOPTR]] = {{.*}}, metadata ![[FOO]]}{{.*}}[ DW_TAG_pointer_type ] {{.*}} [from Foo]
@end