summary refs log tree commit diff stats
path: root/tests/macros/tvarnimnode.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/tvarnimnode.nim')
-rw-r--r--tests/macros/tvarnimnode.nim19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/macros/tvarnimnode.nim b/tests/macros/tvarnimnode.nim
deleted file mode 100644
index 26c9b1f1a..000000000
--- a/tests/macros/tvarnimnode.nim
+++ /dev/null
@@ -1,19 +0,0 @@
-discard """
-  output: 10
-"""
-
-#bug #926
-
-import macros
-
-proc test(f: var NimNode) {.compileTime.} =
-  f = newNimNode(nnkStmtList)
-  f.add newCall(newIdentNode("echo"), newLit(10))
-
-macro blah(prc: untyped): untyped =
-  result = prc
-
-  test(result)
-
-proc test() {.blah.} =
-  echo 5