blob: df4114ff33f719c4763f3ba7689c58d5eec7d43f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// RUN: %llvmgcc %s -emit-llvm -g -O0 -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;
}
|