summary refs log tree commit diff stats
path: root/tests/macros/mparsefile.nim
diff options
context:
space:
mode:
authorhlaaftana <10591326+hlaaftana@users.noreply.github.com>2021-11-24 14:22:40 +0300
committerGitHub <noreply@github.com>2021-11-24 12:22:40 +0100
commitc7c6b13a325958c6b55cbec2eb812eb06074101b (patch)
treee90d098448eb1614e1e5d20c3ea32111d83c52b4 /tests/macros/mparsefile.nim
parentff39f6e26062651a56d6ac4c24fe5a799c177c50 (diff)
downloadNim-c7c6b13a325958c6b55cbec2eb812eb06074101b.tar.gz
parseExpr/parseStmt accept filename, fixes #13540 (#19182)
Diffstat (limited to 'tests/macros/mparsefile.nim')
-rw-r--r--tests/macros/mparsefile.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/macros/mparsefile.nim b/tests/macros/mparsefile.nim
new file mode 100644
index 000000000..8ac99d568
--- /dev/null
+++ b/tests/macros/mparsefile.nim
@@ -0,0 +1,4 @@
+let a = 1
+let b = 2
+let c =
+let d = 4