summary refs log tree commit diff stats
path: root/tests/reject/tmethod.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tmethod.nim')
-rwxr-xr-xtests/reject/tmethod.nim11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/reject/tmethod.nim b/tests/reject/tmethod.nim
deleted file mode 100755
index 999016072..000000000
--- a/tests/reject/tmethod.nim
+++ /dev/null
@@ -1,11 +0,0 @@
-discard """
-  file: "tmethod.nim"
-  line: 7
-  errormsg: "\'method\' needs a parameter that has an object type"
-"""
-
-method m(i: int): int =
-  return 5
-
-
-