Skip to content

Commit

Permalink
Update regression test for #641 to indicate expected failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Huffman committed Aug 27, 2020
1 parent ccf73dc commit 58c89d2
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions intTests/test_llvm_non_fresh/test.saw
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,34 @@ bc <- llvm_load_module "test.bc";
let i64 = llvm_int 64;

foo_ov <-
crucible_llvm_verify bc "foo" [] false
do {
x <- crucible_alloc i64;
crucible_execute_func [x];
crucible_return x;
}
z3;

fails (
crucible_llvm_verify bc "foo" [] false
do {
x <- crucible_alloc i64;
crucible_execute_func [x];
y <- crucible_alloc i64;
crucible_return y;
}
z3;
z3
);

bar_ov0 <-
fails (
crucible_llvm_verify bc "bar" [foo_ov] false
do {
x <- crucible_alloc i64;
crucible_execute_func [x];
crucible_return (crucible_term {{ 0 : [32] }});
}
z3;
z3
);

bar_ov1 <-
crucible_llvm_verify bc "bar" [] false
Expand Down

0 comments on commit 58c89d2

Please sign in to comment.