Y y;
-// FIXME: The return type should be align 1 dereferenceable(1) %struct.A.8*
-// CHECK: define linkonce_odr %struct.B.1* @_ZTchn8_v0_n24_N1Y1fEv(%struct.Y.5* %this) unnamed_addr #1 comdat align 2 {
+// FIXME: The return type should be align 1 dereferenceable(1) %{{[^*]+}}*
+// CHECK: define linkonce_odr %{{[^*]+}}* @_ZTchn8_v0_n24_N1Y1fEv(%{{[^*]+}}* %this) unnamed_addr #1 comdat align 2 {
void Obj::Foo1() {}
void Obj::Foo2() {}
-// CHECK: define {{.*}}void @_ZN3Obj4Foo2Ev(%{{.*}}* nonnull align 16 dereferenceable(16) %this) unnamed_addr #0 align 2 {
+// CHECK: define {{.*}}void @_ZN3Obj4Foo2Ev(%{{[^*]+}}* nonnull align 16 dereferenceable(16) %this) unnamed_addr #0 align 2 {
// FIXME: the argument should be %class.Base2.2* nonnull dereferenceable(8) %this
-// CHECK: define dso_local void @_ZThn8_N3Obj4Foo2Ev(%{{.*}}* %this) unnamed_addr #1 align 2 {
+// CHECK: define dso_local void @_ZThn8_N3Obj4Foo2Ev(%{{[^*]+}}* %this) unnamed_addr #1 align 2 {
-// CHECK: tail call void @_ZN3Obj4Foo2Ev(%{{.*}}* nonnull align 16 dereferenceable(16) %2)
+// CHECK: tail call void @_ZN3Obj4Foo2Ev(%{{[^*]+}}* nonnull align 16 dereferenceable(16) %2)