summary refs log tree commit diff stats
path: root/tests/arc
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-10-02 12:44:10 +0800
committerGitHub <noreply@github.com>2022-10-02 06:44:10 +0200
commit81e7811e01b22518cb5e533cf75ed5dda0873415 (patch)
tree926a5970388cfb9b6d734f9bc2f7760a38aa6738 /tests/arc
parent0769b160c5e1e3f17a87c4a50c0c8d4ba076858f (diff)
downloadNim-81e7811e01b22518cb5e533cf75ed5dda0873415.tar.gz
fixes nim check with orc (#20456)
* fixes nim check with orc

* fixes tests

* add tests

* fixes tests

* Update tests/arc/t20456.nim
Diffstat (limited to 'tests/arc')
-rw-r--r--tests/arc/t20456.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/arc/t20456.nim b/tests/arc/t20456.nim
new file mode 100644
index 000000000..ace79255a
--- /dev/null
+++ b/tests/arc/t20456.nim
@@ -0,0 +1,7 @@
+discard """
+  cmd: "nim check $file"
+  action: "compile"
+"""
+
+when not defined(gcOrc):
+  {.error: "orc".}