diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-08 20:57:22 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-08 20:57:22 +0000 |
commit | ac7362dedab6002a0811f47ccfcaf81a9c728d35 (patch) | |
tree | 319c9d4a9684314c764f7c13448e9ac68d7171c9 /test/CodeGenCXX/copy-in-cplus-object.cpp | |
parent | c9f362d73b7e76e7cfa800fd6ed8b7f2a84d2f95 (diff) |
Block Code Gen. API. Call destructor on descriptior
entry previously constructed via copy constructor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105641 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, 3 insertions, 1 deletions
diff --git a/test/CodeGenCXX/copy-in-cplus-object.cpp b/test/CodeGenCXX/copy-in-cplus-object.cpp index cac6155f5c..bdfca5e4ee 100644 --- a/test/CodeGenCXX/copy-in-cplus-object.cpp +++ b/test/CodeGenCXX/copy-in-cplus-object.cpp @@ -9,6 +9,7 @@ struct TestObject { TestObject(const TestObject& inObj, int def = 100, const S &Silly = "silly"); TestObject(); + ~TestObject(); TestObject& operator=(const TestObject& inObj); int version() const; @@ -23,4 +24,5 @@ void testRoutine() { // CHECK: call void @_ZN1SC1EPKc // CHECK: call void @_ZN10TestObjectC1ERKS_iRK1S // CHECK: call void @_ZN1SD1Ev - +// CHECK: call void @_ZN10TestObjectD1Ev +// CHECK: call void @_ZN10TestObjectD1Ev |