diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-04 21:35:44 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-04 21:35:44 +0000 |
commit | 59da45a1fc10a3af4f3b3152f45504b4c5ca7385 (patch) | |
tree | a6b2a72476a4b3954503e55e4593cdcb22d701ae /test/CodeGenCXX/copy-in-cplus-object.cpp | |
parent | 83a230c83a54190366138c1a4f4310ef838b88fc (diff) |
Build AST for copy-construction of copied-in
class object in blocks and carry it to IRGen.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/copy-in-cplus-object.cpp')
-rw-r--r-- | test/CodeGenCXX/copy-in-cplus-object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/copy-in-cplus-object.cpp b/test/CodeGenCXX/copy-in-cplus-object.cpp index 6dcb1285fa..819879806d 100644 --- a/test/CodeGenCXX/copy-in-cplus-object.cpp +++ b/test/CodeGenCXX/copy-in-cplus-object.cpp @@ -2,7 +2,7 @@ struct TestObject { - TestObject(const TestObject& inObj); + TestObject(const TestObject& inObj, int def = 100); TestObject(); TestObject& operator=(const TestObject& inObj); int version() const; @@ -14,5 +14,5 @@ void testRoutine() { int (^V)() = ^{ return one.version(); }; } -// CHECK: call void @_ZN10TestObjectC1ERKS_ +// CHECK: call void @_ZN10TestObjectC1ERKS_i |