10 lines
No EOL
173 B
Text
10 lines
No EOL
173 B
Text
/* Test creating an array with negative length */
|
|
class Main {
|
|
void main() {
|
|
int[] x;
|
|
x = new int[-3];
|
|
x[0] = 3;
|
|
x[1] = 4;
|
|
x[2] = 5;
|
|
}
|
|
} |