about summary refs log tree commit diff homepage
path: root/test/regression/2016-08-06-klee-get-obj-size.c
blob: 70289e48710c341906eefaad24aa418a3bf3c14a (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;
}