Files
Nim/tests/vm/tgloballetfrommacro.nim
Miran e7f280bd26 Remove deprecated stuff from stdlib (#14699)
* update to the latest Jester

* remove deprecated procs from some stdlib modules

* 'criterion' is not maintained anymore and relies on obsolete stuff
2020-06-17 15:25:02 +02:00

14 lines
236 B
Nim

discard """
errormsg: "cannot evaluate at compile time: BUILTIN_NAMES"
line: 11
"""
import sets
let BUILTIN_NAMES = toHashSet(["int8", "int16", "int32", "int64"])
macro test*(): bool =
echo "int64" notin BUILTIN_NAMES
echo test()