summaryrefslogtreecommitdiff
path: root/tests/testsrc/bad/brackets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsrc/bad/brackets.cpp')
-rw-r--r--tests/testsrc/bad/brackets.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testsrc/bad/brackets.cpp b/tests/testsrc/bad/brackets.cpp
index 898a258..7fc6552 100644
--- a/tests/testsrc/bad/brackets.cpp
+++ b/tests/testsrc/bad/brackets.cpp
@@ -69,6 +69,8 @@ void func5()
else {
}
}
+ type *var = new type();
+ type2 *var2 = new type2(123);
}
void func6()