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 | ea882cd92ee91803143632f4b597f1317113f80f (patch) | |
tree | 9d627700f62ca8f4edfa593ad6549e2ae34da5c7 /clang/test/CodeGenCXX/copy-in-cplus-object.cpp | |
parent | 065d6fd5372a9b0018ab878fc5466181f71079c3 (diff) | |
download | llvm-ea882cd92ee91803143632f4b597f1317113f80f.zip llvm-ea882cd92ee91803143632f4b597f1317113f80f.tar.gz llvm-ea882cd92ee91803143632f4b597f1317113f80f.tar.bz2 |
Build AST for copy-construction of copied-in
class object in blocks and carry it to IRGen.
llvm-svn: 105487
Diffstat (limited to 'clang/test/CodeGenCXX/copy-in-cplus-object.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/copy-in-cplus-object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/copy-in-cplus-object.cpp b/clang/test/CodeGenCXX/copy-in-cplus-object.cpp index 6dcb128..8198798 100644 --- a/clang/test/CodeGenCXX/copy-in-cplus-object.cpp +++ b/clang/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 |