repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* config/aarch64/aarch64.c (aarch64_legitimize_address): New function.
[official-gcc.git]
/
libjava
/
testsuite
/
libjava.lang
/
inner1.java
blob
820edf8026ca37fc4fd59877fcf503b69dbabe56
1
// Class inner1
2
// Generated on Thu Nov 4 16:35:03 PST 1999
3
//
4
5
class
inner1
{
6
int
i
;
7
void
foo
() {
8
inner1
.
z x1
=
new
z
();
9
inner1
.
z
.
y x
=
x1
.
new
y
();
10
x
.
bar
();
11
x
.
print
();
12
}
13
public static void
main
(
String
[]
arg
)
14
{
15
System
.
out
.
println
(
"Testing class `inner1'..."
);
16
new
inner1
().
foo
();
17
}
18
class
z
{
19
int
j
;
20
void
foo
() {
21
inner1
.
this
.
i
=
3
;
22
}
23
class
y
{
24
int
k
;
25
void
bar
() {
26
inner1
.
this
.
i
=
3
;
27
z
.
this
.
j
=
4
;
28
y
.
this
.
k
=
34
;
29
}
30
void
print
() {
31
System
.
out
.
println
(
"i="
+
i
+
", j="
+
j
+
", k="
+
k
);
32
}
33
}
34
}
35
}
36