Retro68/gcc/libjava/testsuite/libjava.lang/multiple_finit.java

29 lines
572 B
Java
Raw Normal View History

2012-03-27 23:13:14 +00:00
// Class multiple_finit
// Generated on Mon Jan 3 20:07:18 PST 2000
//
class multiple_finit {
int foo = 99;
class multiple_finit_inner {
int inner = 34;
void test () {
System.out.println (inner);
System.out.println (foo);
}
}
void foo (String s)
{
multiple_finit_inner inn = this.new multiple_finit_inner ();
inn.test ();
System.out.println (foo);
}
void testx () { }
public static void main (String[] arg)
{
System.out.println ("Testing class `multiple_finit'...");
new multiple_finit().foo ("");
}
}