summary refs log tree commit diff stats
path: root/tests/js
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2020-10-30 16:16:47 +0800
committerGitHub <noreply@github.com>2020-10-30 09:16:47 +0100
commitf79ded3cb6a1a8eb754081fca6b074bef455224e (patch)
tree1b69da4de47a92b8fc3ad7685004ba46230212fb /tests/js
parentd8fb2379c9a6e83b7e8151ba13116afb1bedc00f (diff)
downloadNim-f79ded3cb6a1a8eb754081fca6b074bef455224e.tar.gz
fix #15638 (#15789)
Diffstat (limited to 'tests/js')
-rw-r--r--tests/js/tdiscard.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/js/tdiscard.nim b/tests/js/tdiscard.nim
new file mode 100644
index 000000000..9aa6ea1b1
--- /dev/null
+++ b/tests/js/tdiscard.nim
@@ -0,0 +1,3 @@
+import dom
+
+discard Node()
\ No newline at end of file