compiler-design-eth/javali_tests/HW4_nop90/Array/OkObjectArray.javali

11 lines
139 B
Text
Raw Permalink Normal View History

2020-01-15 22:34:57 +01:00
/* Test creating arrays of objects */
class A{}
class Main {
void main() {
A[] x;
x = new A[2];
x[0] = new A();
}
}