#!/bin/java bsh.Interpreter

source("TestHarness.bsh");

java.sql.Date date;
assert( isEvalError("date=5;") ); // can't assign int to Date

import java.sql.Date;
Date date2;
assert( isEvalError("date2=5;") ); // can't assign int to Date

java.sql.Date date3;
assert( isEvalError("date3=5;") ); // can't assign int to Date

bsh.system.shutdownOnExit;

if ( bsh.system.shutdownOnExit == true )
	System.out.println("foo");

// accept expressions as well as block statements
2;
2+2;
(2*2);
(2)*2;
(3*2)+5;
bsh.system.shutdownOnExit == true;

complete();
