CAP/TPfutures/MiniC-futures/tests/provided/test_fut0.c
2024-12-09 13:00:58 +01:00

21 lines
202 B
C

#include "compat.h"
// Call future
int functi(int x){
int y;
y=x;
y = 42;
println_int(0);
return y;
}
int main(){
futint fval;
fval = Async(functi,123);
return 0;
}
// EXPECTED
// 0