Skip to content

Commit 5352996

Browse files
committed
Add a test to check verification failure
1 parent bb28bf8 commit 5352996

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
public class Main {
2+
3+
public void constantIndexOf() {
4+
String s1 = "abcabc";
5+
assert s1.indexOf("") == -1;
6+
}
7+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CORE symex-driven-lazy-loading-expected-failure
2+
Main.class
3+
--function Main.constantIndexOf --property "java::Main.constantIndexOf:()V.assertion.1"
4+
^Generated [0-9]+ VCC\(s\), 1 remaining after simplification$
5+
^VERIFICATION FAILED$
6+
^EXIT=10$
7+
^SIGNAL=0$
8+
--
9+
--

0 commit comments

Comments
 (0)