-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The goal is to ensure that ill-formed JVMSetup blocks are caught at an early stage by `crucible_jvm_unsafe_assume_spec`. The tests also include a bunch of known false positives for other well-formedness checks on JVMSetup blocks that we do not perform yet.
- Loading branch information
Brian Huffman
committed
Nov 25, 2020
1 parent
4c31c07
commit 1928b03
Showing
5 changed files
with
508 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
%.class: %.java | ||
javac -g $< |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class Test | ||
{ | ||
long val; | ||
|
||
long get () { | ||
return val; | ||
} | ||
void set (long x) { | ||
val = x; | ||
} | ||
boolean lessThan (Test t) { | ||
return val < t.val; | ||
} | ||
static long lookup (long arr[], int idx) { | ||
return arr[idx]; | ||
} | ||
} |
Oops, something went wrong.