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

if 1: 
  echo "wtf?"