summary refs log tree commit diff stats
path: root/tests/ccgbugs/xoa9578.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ccgbugs/xoa9578.nim')
-rw-r--r--tests/ccgbugs/xoa9578.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ccgbugs/xoa9578.nim b/tests/ccgbugs/xoa9578.nim
new file mode 100644
index 000000000..94ef34519
--- /dev/null
+++ b/tests/ccgbugs/xoa9578.nim
@@ -0,0 +1,4 @@
+import t9578
+
+proc testOpenArray*(x: var openArray[mytype]) =
+  f(x[0].addr)