gcc/libjava/testsuite/libjava.lang/instinit.java
Alexandre Petit-Bianco de9127c1b7 instinit2.out: New file.
* libjava.lang/instinit2.out: New file.
	* libjava.lang/instinit2.java: New file.
	* libjava.lang/instinit.out: New file.
	* libjava.lang/instinit.java: New file.
	* libjava.lang/anonarray2.out: New file.
	* libjava.lang/anonarray2.java: New file.
	* libjava.lang/anonarray.out: New file.
	* libjava.lang/anonarray.java: New file.
	* libjava.lang/nested_with_ctor.out: New file.
	* libjava.lang/nested_with_ctor.java: New file.
	* libjava.lang/anfi.out: New file.
	* libjava.lang/anfi.java: New file.
	* libjava.lang/stub.out: New file.
	* libjava.lang/stub.java: New file.

From-SVN: r31841
2000-02-07 21:40:18 +00:00

23 lines
478 B
Java

// Class instinit
// Generated on Wed Feb 2 12:31:16 PST 2000
// Simple instance initializer test case.
class instinit extends foo {
String buffer = "No Oink! Oink!";
/* Instance initializer */
{
System.out.println ("Oinking...");
}
{
buffer = "Oink! Oink!";
}
public static void main (String[] arg)
{
System.out.println ("Testing class `instinit'...");
System.out.println (new instinit ().buffer);
}
}