summary refs log tree commit diff stats
path: root/tests/errmsgs/undeclared_routime.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/undeclared_routime.nim')
-rw-r--r--tests/errmsgs/undeclared_routime.nim13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/errmsgs/undeclared_routime.nim b/tests/errmsgs/undeclared_routime.nim
deleted file mode 100644
index 7ef12cc0e..000000000
--- a/tests/errmsgs/undeclared_routime.nim
+++ /dev/null
@@ -1,13 +0,0 @@
-discard """
-cmd: '''nim c --hints:off $file'''
-errormsg: "attempting to call routine: 'myiter'"
-nimout: '''undeclared_routime.nim(13, 15) Error: attempting to call routine: 'myiter'
-  found 'undeclared_routime.myiter(a: string)[iterator declared in undeclared_routime.nim(10, 9)]'
-  found 'undeclared_routime.myiter()[iterator declared in undeclared_routime.nim(11, 9)]'
-'''
-"""
-
-iterator myiter(a:string): int = discard
-iterator myiter(): int = discard
-
-let a = myiter(1)