summary refs log tree commit diff stats
path: root/tests/macros/tdump.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/tdump.nim')
-rw-r--r--tests/macros/tdump.nim13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/macros/tdump.nim b/tests/macros/tdump.nim
new file mode 100644
index 000000000..e4c14dc6b
--- /dev/null
+++ b/tests/macros/tdump.nim
@@ -0,0 +1,13 @@
+discard """
+  output: '''x = 10
+x + y = 30
+'''
+"""
+
+import future
+
+let
+  x = 10
+  y = 20
+dump x
+dump(x + y)
\ No newline at end of file