summary refs log tree commit diff stats
path: root/tests/js/tjshello.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/tjshello.nim')
-rw-r--r--tests/js/tjshello.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/js/tjshello.nim b/tests/js/tjshello.nim
new file mode 100644
index 000000000..19e0b90ae
--- /dev/null
+++ b/tests/js/tjshello.nim
@@ -0,0 +1,10 @@
+discard """
+  output: "Hello World"
+  maxcodesize: 1000
+  ccodecheck: "!@'function'"
+"""
+
+import jsconsole
+
+console.log "Hello World"
+