summary refs log tree commit diff stats
path: root/tests/errmsgs/undeclared_routime2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/undeclared_routime2.nim')
-rw-r--r--tests/errmsgs/undeclared_routime2.nim9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/errmsgs/undeclared_routime2.nim b/tests/errmsgs/undeclared_routime2.nim
deleted file mode 100644
index 3e48b48f4..000000000
--- a/tests/errmsgs/undeclared_routime2.nim
+++ /dev/null
@@ -1,9 +0,0 @@
-discard """
-cmd: '''nim c --hints:off $file'''
-errormsg: "invalid pragma: myPragma"
-"""
-
-proc myPragma():int=discard
-iterator myPragma():int=discard
-proc myfun(a:int): int {.myPragma.} = 1
-let a = myfun(1)