parent
6d10b365fe
commit
91935fd915
5 changed files with 47 additions and 1 deletions
13
tests/errmsgs/tdont_show_system.nim
Normal file
13
tests/errmsgs/tdont_show_system.nim
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
discard """
|
||||
errormsg: "value of type 'bool' has to be discarded"
|
||||
line: 13
|
||||
file: "tdont_show_system.nim"
|
||||
"""
|
||||
|
||||
# bug #4308
|
||||
|
||||
#proc getGameTile: int =
|
||||
# 1 > 0
|
||||
|
||||
# bug #4905 subsumes the problem of #4308:
|
||||
true notin {false}
|
||||
11
tests/errmsgs/tproper_stacktrace.nim
Normal file
11
tests/errmsgs/tproper_stacktrace.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
discard """
|
||||
outputsub: '''tproper_stacktrace.nim(7) tproper_stacktrace'''
|
||||
exitcode: 1
|
||||
"""
|
||||
|
||||
template fuzzy(x) =
|
||||
echo x[] != 9
|
||||
|
||||
var p: ptr int
|
||||
fuzzy p
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue