about summary refs log tree commit diff homepage
path: root/test/Feature/EntryPoint.c
blob: 8265973350be8c5fd7a70e12c0919ed6ce4c21b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang -emit-llvm -g -c %s -o %t.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out --entry-point=other_main %t.bc > %t.log
// RUN: grep "Hello World" %t.log

#include <stdio.h>

int other_main() {
  printf("Hello World\n");
  return 0;
}