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 | 49850dfc4eb10f83798c5c383205d9154c73e5b0 (patch) | |
| tree | 66e1c7e405910c63f14224168d01abc24661105d /clang/test/CodeGenCXX/PR5050-constructor-conversion.cpp | |
| parent | 32f71d714ba58e3ddc3d151d6249e1202e26ce17 (diff) | |
| download | bcm5719-llvm-49850dfc4eb10f83798c5c383205d9154c73e5b0.tar.gz bcm5719-llvm-49850dfc4eb10f83798c5c383205d9154c73e5b0.zip | |
Refixed pr5050 per Anders comment. Test case enhanced
per Doug's comment.
llvm-svn: 82791
Diffstat (limited to 'clang/test/CodeGenCXX/PR5050-constructor-conversion.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/PR5050-constructor-conversion.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 |

