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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testsrc/good/constructor1.cpp b/tests/testsrc/good/constructor1.cpp
index 41003b7..d300f06 100644
--- a/tests/testsrc/good/constructor1.cpp
+++ b/tests/testsrc/good/constructor1.cpp
@@ -24,6 +24,7 @@
class Test1 final
{
+ A_DELETE_COPY(Test1)
Test1::Test1()
{
}
@@ -31,6 +32,8 @@ class Test1 final
struct Test2 final
{
+ A_DELETE_COPY(Test2)
+
Test2::Test2() :
data1(),
data2()