summary refs log tree commit diff stats
path: root/tests/namedparams/tnamedparams.nim
blob: d0774f0d8518a5fb5bf8068dfea7e86c78a748ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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)