aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/10_break.sy
blob: 55b40dc8ec5a9ccfe5d29f510e004c3040659a20 (plain)
1
2
3
4
5
6
7
8
9
int main(){
    int a=10;
    while(a>0){
        a=a-1;
        if(a==5)
            break;
    }
    return a;
}