repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
libjava
/
testsuite
/
libjava.compile
/
SuperConstr.java
blob
eef50508109402a6f94c3013efb33dfa9b5cbc4d
1
// It is legal to reference "this" from an enclosing type, or an instance
2
// field from an enclosing type, in a super constructor call.
3
4
public class
SuperConstr
5
{
6
SuperConstr
(
Object x
,
Outer y
) {}
7
}
8
9
class
Outer
10
{
11
Object x
;
12
13
class
Sub
extends
SuperConstr
14
{
15
Sub
()
16
{
17
super
(
x
,
Outer
.
this
);
18
}
19
}
20
}