about summary refs log tree commit diff homepage
path: root/www/code-examples/demo.c
blob: 69e0715a0821e28a6e2662a8db4905a655270b2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
int my_islower(int x) {
  if (x >= 'a' && x <= 'z')
    return 1;
  else return 0;
}

int main() {
  char c;
  klee_make_symbolic_name(&c, sizeof(c), "input");
  return my_islower(c);
}