OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
[pf3gnuchains/gcc-fork.git]
/
libjava
/
testsuite
/
libjava.lang
/
assign.java
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
}