Files
Nim/tests/errmsgs/t8610.nim
Neelesh Chandola 4c08e64e98 disallow typedesc in arrays & move existing checks to types.typeAllowedAux (#13261)
* disallow typedesc in arrays and move previous checks to types.typeAllowedAux
2020-05-29 11:48:15 +02:00

6 lines
94 B
Nim

discard """
errmsg: "invalid type: 'type int' for const"
"""
## issue #8610
const Foo = int