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
* sreal.h (sreal::shift): Fix sanity check.
[official-gcc.git]
/
libjava
/
testsuite
/
libjava.lang
/
pr21844.java
blob
24ed01fce9fafbadde9cfc5e648bf6a8dc38ed80
1
class
pr21844base
2
{
3
int
modCount
;
4
5
public
pr21844base
(
int
x
)
6
{
7
modCount
=
x
;
8
}
9
}
10
11
public class
pr21844
extends
pr21844base
12
{
13
class
inner
14
{
15
public int
doit
()
16
{
17
++
modCount
;
18
return
modCount
;
19
}
20
}
21
22
public
pr21844
(
int
x
)
23
{
24
super
(
x
);
25
}
26
27
public static void
main
(
String
[]
args
)
28
{
29
pr21844 val
=
new
pr21844
(
7
);
30
inner i
=
val
.
new
inner
();
31
System
.
out
.
println
(
i
.
doit
());
32
}
33
}