about summary refs log tree commit diff homepage
path: root/test/regression/2016-08-06-klee-get-obj-size.c
blob: 3d3dc357150e47f43b18dbf7edf33895e8b50aaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %llvmgcc %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;
}