summary refs log tree commit diff stats
path: root/tests/stdlib/tcmdline.nim
blob: 8b428900b5dc7f601983f309765e209f9a5d78d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
discard """
  matrix: "--mm:refc; --mm:orc"
  targets: "c js"
  joinable: false
"""

import std/os
import std/assertions

var params = paramCount()
doAssert params == 0
doAssert paramStr(0).len > 0
doAssert commandLineParams().len == 0