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

int f()  
{
    /* ERRORS */
    return;
    return bool:true;
    return (12, 34);
    return [123, 456];
    
}

() g()
{
    /* ERRORS */
    return 1;
    return bool:true;
    return (12, 34);
    return [123, 456];
    
}