summary refs log tree commit diff stats
path: root/tests/errmsgs/undeclared_routime3.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/undeclared_routime3.nim')
-rw-r--r--tests/errmsgs/undeclared_routime3.nim13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/errmsgs/undeclared_routime3.nim b/tests/errmsgs/undeclared_routime3.nim
deleted file mode 100644
index 052adfc08..000000000
--- a/tests/errmsgs/undeclared_routime3.nim
+++ /dev/null
@@ -1,13 +0,0 @@
-discard """
-cmd: '''nim c --hints:off $file'''
-errormsg: "undeclared field: 'bar'"
-nimout: '''undeclared_routime3.nim(13, 10) Error: undeclared field: 'bar'
-  found 'undeclared_routime3.bar()[declared in undeclared_routime3.nim(12, 9)]' of kind 'iterator'
-'''
-"""
-
-
-type Foo = object
-var a = Foo()
-iterator bar():int=discard
-let a = a.bar