summary refs log tree commit diff stats
path: root/tests/treguse.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/treguse.nim')
-rwxr-xr-xtests/treguse.nim21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/treguse.nim b/tests/treguse.nim
deleted file mode 100755
index dc805fc70..000000000
--- a/tests/treguse.nim
+++ /dev/null
@@ -1,21 +0,0 @@
-# Test the register usage of the virtual machine and

-# the blocks in var statements

-

-proc main(a, b: int) =

-  var x = 0

-  write(stdout, x)

-  if x == 0:

-    var y = 55

-    write(stdout, y)

-    write(stdout, "this should be the case")

-    var input = "<no input>"

-    if input == "Andreas":

-      write(stdout, "wow")

-    else:

-      write(stdout, "hugh")

-  else:

-    var z = 66

-    write(stdout, z) # "bug!")

-

-main(45, 1000)

-#OUT 055this should be the casehugh