diff options
Diffstat (limited to 'tests/modules/tnamspc.nim')
-rw-r--r-- | tests/modules/tnamspc.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/modules/tnamspc.nim b/tests/modules/tnamspc.nim new file mode 100644 index 000000000..93ce71568 --- /dev/null +++ b/tests/modules/tnamspc.nim @@ -0,0 +1,10 @@ +discard """ + errormsg: "undeclared identifier: \'global\'" + file: "tnamspc.nim" + line: 10 +""" +# Test17 - test correct handling of namespaces + +import mnamspc1 + +global = 9 #ERROR |