summary refs log tree commit diff stats
path: root/tests/seq/tshallowseq.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/seq/tshallowseq.nim')
-rw-r--r--tests/seq/tshallowseq.nim17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/seq/tshallowseq.nim b/tests/seq/tshallowseq.nim
deleted file mode 100644
index 9a8bdb954..000000000
--- a/tests/seq/tshallowseq.nim
+++ /dev/null
@@ -1,17 +0,0 @@
-discard """
-  output: '''@[1, 42, 3]
-@[1, 42, 3]
-'''
-"""
-proc xxx() =
-  var x: seq[int] = @[1, 2, 3]
-  var y: seq[int]
-
-  system.shallowCopy(y, x)
-
-  y[1] = 42
-
-  echo y
-  echo x
-
-xxx()