//#Safe /* * Date: 2014-06-22 * Author: heizmann@informatik.uni-freiburg.de */ #include int main() { int* x0 = malloc(sizeof(int)); int* x1 = malloc(sizeof(int)); int* x2 = malloc(sizeof(int)); int* x3 = malloc(sizeof(int)); *x0 = 0; *x1 = 0; *x2 = 0; *x3 = 0; while ( *x3 == 0 ) { if (*x0 == 0) { *x0 = 1; } else { *x0 = 0; if (*x1 == 0) { *x1 = 1; } else { *x1 = 0; if (*x2 == 0) { *x2 = 1; } else { *x2 = 0; *x3 = 1; } } } } int x3Value = *x3; //@assert x3Value != 0; free(x0); free(x1); free(x2); free(x3); return 0; }