about summary refs log tree commit diff homepage
path: root/test/regression/2016-08-06-klee-get-obj-size.c
blob: 0e25d1f6768cd3f5126ebcf1c80f4305a1c69584 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang %s -emit-llvm -g %O0opt -c -o %t.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out %t.bc
// RUN: test -f %t.klee-out/test000001.assert.err


#include <klee/klee.h>
#include <assert.h>

int main() {
  char s[5];
  assert(5 != klee_get_obj_size(s));
  return 0;
}