summary refs log tree commit diff stats
path: root/tests/arc/t17173.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arc/t17173.nim')
-rw-r--r--tests/arc/t17173.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/arc/t17173.nim b/tests/arc/t17173.nim
new file mode 100644
index 000000000..0acd886a2
--- /dev/null
+++ b/tests/arc/t17173.nim
@@ -0,0 +1,10 @@
+discard """
+  matrix: "--gc:refc; --gc:arc"
+"""
+
+import std/strbasics
+
+
+var a = "  vhellov   "
+strip(a)
+doAssert a == "vhellov"