summary refs log blame commit diff stats
path: root/tests/errmsgs/tdont_show_system.nim
blob: 164fdd8012d934ba2061159dc5250c87f0e4e1ba (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
           
                                                                                   










                                           
discard """
  errormsg: "expression 'true' is of type 'bool' and has to be used (or 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}