summary refs log blame commit diff stats
path: root/tests/lexer/tlexermisc.nim
blob: 3e3993599cbcc8ccb5a1448c378a8252aaa144ba (plain) (tree)


























                                     
discard """
  action: run
  output: "equal"
"""

var t=0x950412DE

if t==0x950412DE:
    echo "equal"
else:
    echo "not equal"

type
  TArray = array[0x0012..0x0013, int]

var a: TArray

doAssert a[0x0012] == 0


# #7884

type Obj = object
    ö: int

let o = Obj(ö: 1)
doAssert o.ö == 1