summaryrefslogtreecommitdiff
path: root/tests/testsrc/good/constructor1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsrc/good/constructor1.cpp')
-rw-r--r--tests/testsrc/good/constructor1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testsrc/good/constructor1.cpp b/tests/testsrc/good/constructor1.cpp
index d300f06..99f12f7 100644
--- a/tests/testsrc/good/constructor1.cpp
+++ b/tests/testsrc/good/constructor1.cpp
@@ -38,5 +38,7 @@ struct Test2 final
data1(),
data2()
{
+ type *var = mnew type();
+ type2 *var = new type2(123);
}
}