summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/copy-in-cplus-object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenCXX/copy-in-cplus-object.cpp')
-rw-r--r--clang/test/CodeGenCXX/copy-in-cplus-object.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/copy-in-cplus-object.cpp b/clang/test/CodeGenCXX/copy-in-cplus-object.cpp
index cac6155f5cf..bdfca5e4ee0 100644
--- a/clang/test/CodeGenCXX/copy-in-cplus-object.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud