Refixed pr5050 per Anders comment. Test case enhanced
per Doug's comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82791 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/PR5050-constructor-conversion.cpp b/test/CodeGenCXX/PR5050-constructor-conversion.cpp
index adfe74f..7c70687 100644
--- a/test/CodeGenCXX/PR5050-constructor-conversion.cpp
+++ b/test/CodeGenCXX/PR5050-constructor-conversion.cpp
@@ -4,7 +4,7 @@
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s &&
// RUN: true
-struct A { A(const A&); };
+struct A { A(const A&, int i1 = 1); };
struct B : A { };
@@ -12,8 +12,8 @@
return b;
}
-// CHECK-LP64: call __ZN1AC1ERK1A
+// CHECK-LP64: call __ZN1AC1ERK1Ai
-// CHECK-LP32: call L__ZN1AC1ERK1A
+// CHECK-LP32: call L__ZN1AC1ERK1Ai