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')
-rw-r--r--tests/reject/tmethod.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/reject/tmethod.nim b/tests/reject/tmethod.nim
new file mode 100644
index 000000000..101cabf25
--- /dev/null
+++ b/tests/reject/tmethod.nim
@@ -0,0 +1,4 @@
+
+method m(i: int): int =
+  return 5
+