id_i10_o10_false-unreach-call.c

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:15.0
disk size 252 Bytes
downloadable true
type
attribute value
name no_type
processor id 1
description this is the default benchmark type for rejected benchmarks and benchmarks that are not associated with a type.
owning community none
loading contents
extern int __VERIFIER_nondet_int();
extern void __VERIFIER_error();

int id(int x) {
  if (x==0) return 0;
  return id(x-1) + 1;
}

int main(void) {
  int input = 10;
  int result = id(input);
  if (result == 10) {
    ERROR: __VERIFIER_error();
  }
}
popout

content may be truncated. 'popout' for larger text window.

actions get anonymous link download benchmark