summary refs log tree commit diff stats
path: root/tests/misc/t20456_2.nim
blob: 37e52c45223fda6ac548b68746d508fd20f39139 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
discard """
  joinable: false
"""

import std/[osproc, os, strformat]
from stdtest/specialpaths import testsDir

when defined(nimPreviewSlimSystem):
  import std/assertions

const
  nim = getCurrentCompilerExe()
  file = testsDir / "misc" / "m20456.nims"
doAssert execCmd(fmt"{nim} check {file}") == 0