summary refs log tree commit diff stats
path: root/tests/proc/tnamedparams.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/proc/tnamedparams.nim')
-rw-r--r--tests/proc/tnamedparams.nim12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/proc/tnamedparams.nim b/tests/proc/tnamedparams.nim
new file mode 100644
index 000000000..d0774f0d8
--- /dev/null
+++ b/tests/proc/tnamedparams.nim
@@ -0,0 +1,12 @@
+discard """
+  errormsg: "type mismatch: got <input: string, filename: string, line: int literal(1), col: int literal(23)>"
+  file: "tnamedparams.nim"
+  line: 8
+"""
+import pegs
+
+discard parsePeg(
+      input = "input",
+      filename = "filename",
+      line = 1,
+      col = 23)