summary refs log blame commit diff stats
path: root/tests/compiler/tcmdlinecpuamd64.nim
blob: 0265e3d944d682a68c692522398dda7e76301874 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                                 
discard """
  cmd: "nim $target $options --cpu:amd64 $file"
  disabled: "32bit"
"""

import strutils

static:
  #cpu is set to "i386" in tcpuamd64.nim.cfg, but --cpu:amd64 in command line should override it.
  doAssert cmpIgnoreCase(hostCPU, "amd64") == 0