about summary refs log tree commit diff homepage
path: root/test/Feature/OneOutOfBounds.c
blob: 11a9eecbcf3d5e08eae5c81f89c436e12583a612 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc
// RUN: %klee %t1.bc
// RUN: test -f klee-last/test000001.ptr.err

int main() {
  int *x = malloc(4);
  x[1] = 1;
  free(x);
  return 0;
}