summary refs log tree commit diff stats
path: root/tests/arc/topt_wasmoved_destroy_pairs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arc/topt_wasmoved_destroy_pairs.nim')
-rw-r--r--tests/arc/topt_wasmoved_destroy_pairs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arc/topt_wasmoved_destroy_pairs.nim b/tests/arc/topt_wasmoved_destroy_pairs.nim
index 2a6391dd2..2f971f112 100644
--- a/tests/arc/topt_wasmoved_destroy_pairs.nim
+++ b/tests/arc/topt_wasmoved_destroy_pairs.nim
@@ -38,7 +38,7 @@ try:
           return
         add(a):
           wasMoved(:tmpD)
-          `=`(:tmpD, x)
+          `=copy`(:tmpD, x)
           :tmpD
         inc i_1, 1
   if cond: