summary refs log tree commit diff stats
path: root/tests/namspc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/namspc')
-rw-r--r--tests/namspc/mnamspc1.nim2
-rw-r--r--tests/namspc/mnamspc2.nim3
-rw-r--r--tests/namspc/tnamspc.nim12
3 files changed, 0 insertions, 17 deletions
diff --git a/tests/namspc/mnamspc1.nim b/tests/namspc/mnamspc1.nim
deleted file mode 100644
index da13c5f24..000000000
--- a/tests/namspc/mnamspc1.nim
+++ /dev/null
@@ -1,2 +0,0 @@
-import mnamspc2

-

diff --git a/tests/namspc/mnamspc2.nim b/tests/namspc/mnamspc2.nim
deleted file mode 100644
index 84ef8533e..000000000
--- a/tests/namspc/mnamspc2.nim
+++ /dev/null
@@ -1,3 +0,0 @@
-# export an identifier:

-var

-  global*: int

diff --git a/tests/namspc/tnamspc.nim b/tests/namspc/tnamspc.nim
deleted file mode 100644
index 1e2049cec..000000000
--- a/tests/namspc/tnamspc.nim
+++ /dev/null
@@ -1,12 +0,0 @@
-discard """
-  file: "tnamspc.nim"
-  line: 10
-  errormsg: "undeclared identifier: \'global\'"
-"""
-# Test17 - test correct handling of namespaces

-

-import mnamspc1

-

-global = 9 #ERROR

-
-