aboutsummaryrefslogtreecommitdiff
path: root/rcc-legacy/tests/sysy_lvX/042_builtin_putarray.sy
blob: de44f693b47ae188039df742633fdbbe41e6c3f2 (plain)
1
2
3
4
5
6
7
8
9
10
int main()
{
    int a[3] = {1, 2, 3};
    putarray(3, a);
    int b[4][2] = {4, 5, 6, 7, 8};
    int c[2][5][3] = {9, 10, 11, 12, 13};
    putarray(3, c[0][1]);
    putarray(2, b[2]);
    return 0;
}