source("TestHarness.bsh");

class Foo10
{
	Bar10 myBar;

	// random instance stuff
	assert( this instanceof Foo10 );
	assert( Foo10.Bar10 instanceof bsh.ClassIdentifier );
	assert( Bar10 instanceof bsh.ClassIdentifier );

	static class Bar10 { }

	void go() {
		myBar = new Bar10();
		assert( myBar instanceof Bar10 );
	}
}


f=new Foo10();
f.go();
assert( f.myBar instanceof Foo10.Bar10 );

assert( myBar == void );

complete();
