-
Virgile Prevosto authored
This is absolutely not a sneaky attempt to relaunch a build (now that OCI seems in better shape) pushing a nearly empty commit.
Virgile Prevosto authoredThis is absolutely not a sneaky attempt to relaunch a build (now that OCI seems in better shape) pushing a nearly empty commit.
bool.c 727 B
/* run.config
EXECNOW: BIN bool.sav LOG bool_sav.res LOG bool_sav.err ./bin/toplevel.opt -save ./tests/saveload/result/bool.sav -val -val-show-progress ./tests/saveload/bool.c > tests/saveload/result/bool_sav.res 2> tests/saveload/result/bool_sav.err
OPT: -load ./tests/saveload/result/bool.sav -out -input -deps
OPT: -load ./tests/saveload/result/bool.sav -val
*/
#include "stdbool.h"
#include "share/libc/stdio.h"
bool x;
int y;
int f() {
int i, j;
i = 10;
/*@ assert (i == 10); */
while(i--);
j = 5;
return 0;
}
int main() {
f();
x=false;
printf("%d\n",x);
x=2;
printf("%d\n",x);
y=x+1;
printf("%d,%d\n",x,y);
x=x+1;
printf("%d\n",x);
x=x+1;
printf("%d\n",x);
return y;
}