Nim/tests/reject/tnamspc.nim
2013-03-16 23:53:07 +01:00

12 lines
187 B
Nim

discard """
file: "tnamspc.nim"
line: 10
errormsg: "undeclared identifier: \'global\'"
"""
# Test17 - test correct handling of namespaces
import mnamspc1
global = 9 #ERROR