diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-09-25 18:59:21 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-09-25 18:59:21 +0000 |
commit | b3c477415f49668be7a770c8f44c217b42e3ccd3 (patch) | |
tree | ce5a7c8a3610e566230ef977b8d4ef15734faff8 /test/CodeGenCXX/PR5050-constructor-conversion.cpp | |
parent | d5a423b279e787e9fdd8309fe52cb515388c54ea (diff) |
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
Diffstat (limited to 'test/CodeGenCXX/PR5050-constructor-conversion.cpp')
-rw-r--r-- | test/CodeGenCXX/PR5050-constructor-conversion.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGenCXX/PR5050-constructor-conversion.cpp b/test/CodeGenCXX/PR5050-constructor-conversion.cpp index adfe74ffbc..7c7068742d 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 @@ 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 |