Add a test to check verification failure

This commit is contained in:
Yumi Bagge 2019-07-25 18:48:47 +01:00
parent bb28bf80be
commit 5352996202
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,7 @@
public class Main {
public void constantIndexOf() {
String s1 = "abcabc";
assert s1.indexOf("") == -1;
}
}

View File

@ -0,0 +1,9 @@
CORE symex-driven-lazy-loading-expected-failure
Main.class
--function Main.constantIndexOf --property "java::Main.constantIndexOf:()V.assertion.1"
^Generated [0-9]+ VCC\(s\), 1 remaining after simplification$
^VERIFICATION FAILED$
^EXIT=10$
^SIGNAL=0$
--
--