Skip to content

Commit 05516bb

Browse files
committed
Added regresion test for indexOf
Added the originating test for the bug to smoke tests.
1 parent cd29f68 commit 05516bb

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CORE
2+
test_index_of2.class
3+
--refine-strings
4+
^EXIT=10$
5+
^SIGNAL=0$
6+
^VERIFICATION FAILED$
7+
--
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
public class test_index_of2
2+
{
3+
public static void main(String param)
4+
{
5+
String s = "abcdefg";
6+
int i = s.indexOf(param);
7+
assert(i != 1);
8+
}
9+
}

0 commit comments

Comments
 (0)