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