summary refs log tree commit diff stats
path: root/tests/run/toverlop.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/toverlop.nim')
-rwxr-xr-xtests/run/toverlop.nim16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/run/toverlop.nim b/tests/run/toverlop.nim
deleted file mode 100755
index ce302345f..000000000
--- a/tests/run/toverlop.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-discard """
-  file: "toverlop.nim"
-  output: "3"
-"""
-# Test operator overloading

-

-proc `%` (a, b: int): int =

-  return a mod b

-

-var x, y: int

-x = 15

-y = 6

-write(stdout, x % y)

-#OUT 3

-
-