Last change
on this file was 2, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
248 bytes
|
Line | |
---|
1 | /* Test to make sure <clinit> is generated correctly. */
|
---|
2 |
|
---|
3 | class R
|
---|
4 | {
|
---|
5 | public static int z = 23;
|
---|
6 | }
|
---|
7 |
|
---|
8 | public class PR5057_2 extends R
|
---|
9 | {
|
---|
10 | static
|
---|
11 | {
|
---|
12 | R.z = 72;
|
---|
13 | }
|
---|
14 |
|
---|
15 | public static void main (String[] args)
|
---|
16 | {
|
---|
17 | System.out.println (R.z);
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.