# file      : tests/if-else/testscript
# license   : MIT; see accompanying LICENSE file

# Test if-else.

# @@ TODO: more test from old-tests/

.include ../common.testscript

: null
:
$* <<EOI 2>>EOE != 0
if [null]
  print t
EOI
<stdin>:1:4: error: invalid bool value: null
EOE