Files
Nim/tests/vm/tvarsection.nim
ringabout 3dbf2ac946 remove echo statements in tests (part 1) (#20178)
* remove echo statements

* Update tests/vm/triangle_array.nim

* Update tests/vm/tyaytypedesc.nim

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
2022-08-23 19:28:51 +02:00

12 lines
149 B
Nim

var
a {.compileTime.} = 2
b = -1
c {.compileTime.} = 3
d = "abc"
static:
doAssert a == 2
doAssert c == 3
doAssert ($b & $d) == "-1abc"