blob: 52e59f057a91d1bafab7ea14e505081d74b40cfa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// RUN: sh %S/compile_with_libcxx.sh "%llvmgxx" "%s" "%S" "%t" "%klee" "%libcxx_include"
#include <iostream>
#include "klee/klee.h"
int main(int argc, char** args){
int x = klee_int("x");
if (x > 0){
std::cout << "greater: " << x << std::endl;
} else {
std::cout << "lower: " << x << std::endl;
}
return 0;
}
|