about summary refs log tree commit diff homepage
path: root/test/regression/2017-11-01-test-with-empty-varname.c
blob: 2aa9754e51ed49c9d0f1a71f152c9d9e1f133d23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang %s -emit-llvm -g -c -o %t1.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out %t1.bc
// RUN: FileCheck %s --input-file=%t.klee-out/warnings.txt
#include "klee/klee.h"

int main() {
  unsigned a;

  klee_make_symbolic(&a, sizeof(a), "");
// CHECK-NOT: KLEE: WARNING: unable to write output test case, losing it
}