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

() f()
{
    if :true return;
    return;
}

int g()
{
    int a = 0;
    int b = 1;
    
    if :true return a;
    
    return b;
    
    return 2;
}