summary refs log tree commit diff stats
path: root/tests/run/tglobal.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/tglobal.nim')
-rw-r--r--tests/run/tglobal.nim16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/run/tglobal.nim b/tests/run/tglobal.nim
deleted file mode 100644
index 84c4510c1..000000000
--- a/tests/run/tglobal.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-discard """
-  file: "toop1.nim"
-  output: "in globalaux2: 10\ntotal globals: 2\nint value: 100\nstring value: second"
-"""
-
-import globalaux, globalaux2
-
-echo "total globals: ", totalGlobals
-
-globalInstance[int]().val = 100
-echo "int value: ", globalInstance[int]().val
-
-globalInstance[string]().val = "first"
-globalInstance[string]().val = "second"
-echo "string value: ", globalInstance[string]().val
-