gcc/libjava/testsuite/libjava.lang/final_inner.java
Alexandre Petit-Bianco 33ebdd95a8 final_inner.java: New file.
* libjava.lang/final_inner.java: New file.
	* libjava.lang/final_inner.out: Likewise.

From-SVN: r31704
2000-01-30 22:08:32 +00:00

20 lines
407 B
Java

// Class final_inner
// Generated on Tue Jan 18 13:35:19 PST 2000
//
class final_inner {
void foo (final String s, final int i) {
class bar {
void printI () { System.out.println (s+i); }
}
new bar ().printI ();
}
public static void main (String[] arg)
{
System.out.println ("Testing class `final_inner'...");
new final_inner ().foo ("The Number ", 666);
}
}