summaryrefslogtreecommitdiff
path: root/tests/testsrc/good/final1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsrc/good/final1.cpp')
-rw-r--r--tests/testsrc/good/final1.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testsrc/good/final1.cpp b/tests/testsrc/good/final1.cpp
index cdb6a1b..abac4dd 100644
--- a/tests/testsrc/good/final1.cpp
+++ b/tests/testsrc/good/final1.cpp
@@ -24,12 +24,15 @@
class Test1 final
{
+ A_DELETE_COPY(Test1);
Test1();
}
class Test2 notfinal : public Test1
{
Test2();
+
+ A_DEFAULT_COPY(Test2);
}
/*