| 12345678910111213141516171819202122232425262728293031 |
- extern void printInt(int i);
- extern void printNewlines(int i);
- export int main() {
- int[2,3] a = [[1,2,3], [4,5,6]];
- int[2,3] b = 7;
- for(int i=0,2) {
- for(int j=0,3) {
- printInt(a[i,j]);
- printNewlines(1);
- }
- }
- printNewlines(1);
- for(int i=0,2) {
- for(int j=0,3) {
- printInt(b[i,j]);
- printNewlines(1);
- }
- }
- return 0;
- }
- void foo() {
- void bar() {
- int[4, 5] arr = 1;
- }
- }
|