summary refs log tree commit diff stats
path: root/tests/reject/tno_int_in_bool_context.nim
blob: c539bb5560d56a351c535f898d5b1341ef80c139 (plain) (blame)
1
2
3
4
5
6
7
8
discard """
  line: 6
  errormsg: "type mismatch: got (int) but expected 'bool'"
"""

if 1: 
  echo "wtf?"