aboutsummaryrefslogtreecommitdiff
path: root/rcc-legacy/tests/functional/09_void_func.sy
blob: 2799e1e5ce2daaccc583d062248c37fe562723c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int a,b,c;

void add(int a,int b){
    c=a+b;
    return;
}

int main(){
    a=3;
    b=2;
    add(a,b);
    return c;
}