Last change
on this file was 1389, checked in by bird, 21 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:
294 bytes
|
Line | |
---|
1 | // Test for an array assignment bug we've had.
|
---|
2 |
|
---|
3 | public class assign
|
---|
4 | {
|
---|
5 | public static class base
|
---|
6 | {
|
---|
7 | }
|
---|
8 |
|
---|
9 | public static class derived extends base
|
---|
10 | {
|
---|
11 | }
|
---|
12 |
|
---|
13 | public static void main(String[] args)
|
---|
14 | {
|
---|
15 | base[][] x1 = new base[3][3];
|
---|
16 | derived[] x2 = new derived[3];
|
---|
17 | x1[0] = x2;
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.