Skip to content

Commit

Permalink
Add test for issue #521.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Tomb committed Oct 17, 2019
1 parent 2ec450d commit 10c9242
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Binary file added intTests/test_issue521/ptr.bc
Binary file not shown.
3 changes: 3 additions & 0 deletions intTests/test_issue521/ptr.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
unsigned int add(unsigned int *x, unsigned int *y) {
return *x + *y;
}
2 changes: 2 additions & 0 deletions intTests/test_issue521/test.saw
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
m <- llvm_load_module "ptr.bc";
fails (crucible_llvm_extract m "add");
3 changes: 3 additions & 0 deletions intTests/test_issue521/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set -e

$SAW test.saw

0 comments on commit 10c9242

Please sign in to comment.