summary refs log tree commit diff stats
path: root/tests/arc/t16033.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arc/t16033.nim')
-rw-r--r--tests/arc/t16033.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/arc/t16033.nim b/tests/arc/t16033.nim
new file mode 100644
index 000000000..59ed22e4d
--- /dev/null
+++ b/tests/arc/t16033.nim
@@ -0,0 +1,10 @@
+discard """
+  targets: "c js"
+  matrix: "--gc:arc"
+"""
+
+# bug #16033
+when defined js:
+  doAssert not compileOption("gc", "arc")
+else:
+  doAssert compileOption("gc", "arc")