From 49850dfc4eb10f83798c5c383205d9154c73e5b0 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Fri, 25 Sep 2009 18:59:21 +0000 Subject: Refixed pr5050 per Anders comment. Test case enhanced per Doug's comment. llvm-svn: 82791 --- clang/test/CodeGenCXX/PR5050-constructor-conversion.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/test/CodeGenCXX/PR5050-constructor-conversion.cpp') diff --git a/clang/test/CodeGenCXX/PR5050-constructor-conversion.cpp b/clang/test/CodeGenCXX/PR5050-constructor-conversion.cpp index adfe74ffbc3..7c7068742d5 100644 --- a/clang/test/CodeGenCXX/PR5050-constructor-conversion.cpp +++ b/clang/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 @@ A f(const B &b) { return b; } -// CHECK-LP64: call __ZN1AC1ERK1A +// CHECK-LP64: call __ZN1AC1ERK1Ai -// CHECK-LP32: call L__ZN1AC1ERK1A +// CHECK-LP32: call L__ZN1AC1ERK1Ai -- cgit v1.2.3