summaryrefslogtreecommitdiff
path: root/ACE/tests/Compiler_Features_21_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Compiler_Features_21_Test.cpp')
-rw-r--r--ACE/tests/Compiler_Features_21_Test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ACE/tests/Compiler_Features_21_Test.cpp b/ACE/tests/Compiler_Features_21_Test.cpp
index 13d3b369614..c8ad796e3a7 100644
--- a/ACE/tests/Compiler_Features_21_Test.cpp
+++ b/ACE/tests/Compiler_Features_21_Test.cpp
@@ -17,6 +17,7 @@ struct A
struct B
{
B() : b(new A<int>[0]) {}
+ ~B() { delete [] b; }
A<int> *b;
};