summary refs log tree commit diff stats
path: root/tests/errmsgs
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2019-08-14 17:41:44 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-08-14 17:41:44 +0200
commit65ed2d7fe858c9239086e92518ae1db6d2e7fa42 (patch)
tree24c657fe8585cc3e97e874cef988b333a24f814a /tests/errmsgs
parente6cb7e34effe7a47ab2a6d662e5bc99e89893757 (diff)
downloadNim-65ed2d7fe858c9239086e92518ae1db6d2e7fa42.tar.gz
fixes #11942 (#11945)
Diffstat (limited to 'tests/errmsgs')
-rw-r--r--tests/errmsgs/t5167_5.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/errmsgs/t5167_5.nim b/tests/errmsgs/t5167_5.nim
index ccd9cc0a5..a9e260845 100644
--- a/tests/errmsgs/t5167_5.nim
+++ b/tests/errmsgs/t5167_5.nim
@@ -2,13 +2,14 @@ discard """
 cmd: "nim check $file"
 errormsg: "'t' has unspecified generic parameters"
 nimout: '''
-t5167_5.nim(20, 9) Error: 't' has unspecified generic parameters
+t5167_5.nim(10, 16) Error: expression 'system' has no type (or is ambiguous)
+t5167_5.nim(21, 9) Error: 't' has unspecified generic parameters
 '''
 """
+# issue #11942
+discard newSeq[system]()
 
-
-
-
+# issue #5167
 template t[B]() =
   echo "foo1"
 
@@ -22,4 +23,3 @@ bar t
 
 let y = m
 bar m
-