about summary refs log tree commit diff homepage
path: root/test/Concrete/BoolReadWrite.leq36.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Concrete/BoolReadWrite.leq36.ll')
-rw-r--r--test/Concrete/BoolReadWrite.leq36.ll16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/Concrete/BoolReadWrite.leq36.ll b/test/Concrete/BoolReadWrite.leq36.ll
new file mode 100644
index 00000000..34a50447
--- /dev/null
+++ b/test/Concrete/BoolReadWrite.leq36.ll
@@ -0,0 +1,16 @@
+; REQUIRES: lt-llvm-3.7
+; RUN: %S/ConcreteTest.py --klee='%klee' --lli=%lli %s
+
+declare void @print_i1(i1)
+
+define i32 @main() {
+        %mem = alloca i1
+        store i1 1, i1* %mem
+        %v = load i1* %mem
+        br i1 %v, label %ok, label %exit
+ok:
+	call void @print_i1(i1 %v)
+        br label %exit
+exit:
+	ret i32 0
+}