diff options
-rw-r--r-- | test/Concrete/InvokeAndReturn.ll | 20 | ||||
-rw-r--r-- | test/Concrete/InvokeAndUnwindOnce.ll | 20 | ||||
-rw-r--r-- | test/Concrete/InvokeAndUnwindTwice.ll | 24 |
3 files changed, 0 insertions, 64 deletions
diff --git a/test/Concrete/InvokeAndReturn.ll b/test/Concrete/InvokeAndReturn.ll deleted file mode 100644 index 13fd3e05..00000000 --- a/test/Concrete/InvokeAndReturn.ll +++ /dev/null @@ -1,20 +0,0 @@ -; RUN: %S/ConcreteTest.py --klee=%klee --lli=%lli %s - -declare void @print_i32(i32) - -define i8 @sum(i8 %a, i8 %b) { - %c = add i8 %a, %b - ret i8 %c -} - -define i32 @main() { - invoke i8 @sum(i8 1, i8 2) - to label %continue - unwind label %error -continue: - call void @print_i32(i32 1) - ret i32 0 -error: - call void @print_i32(i32 0) - ret i32 0 -} diff --git a/test/Concrete/InvokeAndUnwindOnce.ll b/test/Concrete/InvokeAndUnwindOnce.ll deleted file mode 100644 index dfd929db..00000000 --- a/test/Concrete/InvokeAndUnwindOnce.ll +++ /dev/null @@ -1,20 +0,0 @@ -; RUN: %S/ConcreteTest.py --klee=%klee --lli=%lli %s - -declare void @print_i32(i32) - -define i8 @sum(i8 %a, i8 %b) { - %c = add i8 %a, %b - unwind -} - -define i32 @main() { - invoke i8 @sum(i8 1, i8 2) - to label %continue - unwind label %error -continue: - call void @print_i32(i32 1) - ret i32 0 -error: - call void @print_i32(i32 0) - ret i32 0 -} diff --git a/test/Concrete/InvokeAndUnwindTwice.ll b/test/Concrete/InvokeAndUnwindTwice.ll deleted file mode 100644 index 148760d8..00000000 --- a/test/Concrete/InvokeAndUnwindTwice.ll +++ /dev/null @@ -1,24 +0,0 @@ -; RUN: %S/ConcreteTest.py --klee=%klee --lli=%lli %s - -declare void @print_i32(i32) - -define i8 @myadd(i8 %a, i8 %b) { - unwind -} - -define i8 @sum(i8 %a, i8 %b) { - %c = call i8 @myadd(i8 %a, i8 %b) - ret i8 %c -} - -define i32 @main() { - invoke i8 @sum(i8 1, i8 2) - to label %continue - unwind label %error -continue: - call void @print_i32(i32 1) - ret i32 0 -error: - call void @print_i32(i32 0) - ret i32 0 -} |