aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/backend/return_array.good
blob: 1b2196ba0f0c4593c2b93a0c10f9f50ee1f52639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

int#[3] onetwothree()
{
    return [1, 2, 3];
}

int#[3] returnident()
{
    int#[3] arr1 = [1,2,3];
    return arr1;
}

() test()
{
    var int#[3] a = onetwothree();
    a = onetwothree();
    a = returnident();
}