mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 18:59:50 +08:00
33ebdd95a8
* libjava.lang/final_inner.java: New file. * libjava.lang/final_inner.out: Likewise. From-SVN: r31704
20 lines
407 B
Java
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);
|
|
}
|
|
}
|