summaryrefslogtreecommitdiff
path: root/tests/testsrc/bad
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsrc/bad')
-rw-r--r--tests/testsrc/bad/final1.cpp1
-rw-r--r--tests/testsrc/bad/formatting.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/testsrc/bad/final1.cpp b/tests/testsrc/bad/final1.cpp
index 3e17bb2..045cf18 100644
--- a/tests/testsrc/bad/final1.cpp
+++ b/tests/testsrc/bad/final1.cpp
@@ -24,6 +24,7 @@
class Test1
{
+ A_DELETE_COPY(Test2);
Test1();
}
diff --git a/tests/testsrc/bad/formatting.cpp b/tests/testsrc/bad/formatting.cpp
index 2f0bda5..3dab5ed 100644
--- a/tests/testsrc/bad/formatting.cpp
+++ b/tests/testsrc/bad/formatting.cpp
@@ -25,6 +25,7 @@
class Test1 final
{
public:
+ A_DELETE_COPY(Test3);
Test1::Test1()
{
}