aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/2003-11-04-ArrayConstructors.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-05 05:31:24 +0000
committerChris Lattner <sabre@nondot.org>2003-11-05 05:31:24 +0000
commitd1bcf59c9df22076d3e910fb7640707a5806ff48 (patch)
tree0cbf7b90ba5715a1366de9f3601abcbbd9f232c8 /test/C++Frontend/2003-11-04-ArrayConstructors.cpp
parentf2f05a07ff39ef66bb17c033a5b729979f801098 (diff)
Add a dtor to ensure that they are called the right number of times.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend/2003-11-04-ArrayConstructors.cpp')
-rw-r--r--test/C++Frontend/2003-11-04-ArrayConstructors.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/C++Frontend/2003-11-04-ArrayConstructors.cpp b/test/C++Frontend/2003-11-04-ArrayConstructors.cpp
index 2490811057..10097f6d12 100644
--- a/test/C++Frontend/2003-11-04-ArrayConstructors.cpp
+++ b/test/C++Frontend/2003-11-04-ArrayConstructors.cpp
@@ -1,6 +1,7 @@
struct Foo {
Foo(int);
+ ~Foo();
};
void foo() {
struct {