summaryrefslogtreecommitdiff
path: root/tests/testsrc/good/virtual1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsrc/good/virtual1.cpp')
-rw-r--r--tests/testsrc/good/virtual1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testsrc/good/virtual1.cpp b/tests/testsrc/good/virtual1.cpp
index 5314e16..6d2fad9 100644
--- a/tests/testsrc/good/virtual1.cpp
+++ b/tests/testsrc/good/virtual1.cpp
@@ -24,11 +24,13 @@
class Test1 final
{
+ A_DELETE_COPY(Test1)
virtual Test1finalize();
}
class Test2 notfinal : public Test1
{
+ A_DEFAULT_COPY(Test2)
Test2() override final;
}