OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR libgcj/27171:
[pf3gnuchains/gcc-fork.git]
/
libjava
/
testsuite
/
libjava.lang
/
final_int.java
1
// Class final_int
2
// Generated on Sat Feb 12 01:27:46 PST 2000
3
4
class final_int {
5
6
final int x = 30;
7
8
class foo {
9
int bar () {
10
return x;
11
}
12
}
13
void bar () {
14
int x = this.new foo ().bar ();
15
System.out.println (x);
16
}
17
public static void main (String[] arg)
18
{
19
System.out.println ("Testing class `final_int'...");
20
new final_int().bar ();
21
}
22
}