about summary refs log tree commit diff homepage
path: root/test/regression/2016-08-12-empty-file.c
blob: 8165f9242223856cc602b2e5559531e78f45799e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// REQUIRES: posix-runtime
// RUN: %llvmgcc %s -emit-llvm -g %O0opt -c -o %t.bc
// RUN: rm -rf %t.klee-out
// RUN: not %klee --output-dir=%t.klee-out %t.bc >%t1.log 2>&1
// RUN: FileCheck -input-file=%t1.log -check-prefix=CHECK-MAIN-NOT-FOUND %s
// RUN: rm -rf %t.klee-out
// RUN: rm -rf %t1.log
// RUN: not %klee --output-dir=%t.klee-out --posix-runtime %t.bc >%t1.log 2>&1
// RUN: FileCheck -input-file=%t1.log -check-prefix=CHECK-MAIN-NOT-FOUND %s

// CHECK-MAIN-NOT-FOUND: Entry function 'main' not found in module.