Commit 558ec124 authored by ufebl's avatar ufebl

Create more semantic testcases from the feedback

parent f43a4f46
class Test {
public static void main(String[] args) {
int[] a = new int[false];
}
}
class Test {
public static void main(String[] args) {
Test test = null;
int[] a = new int[test];
}
}
class Test {
public static void main(String[] args) {
int[] a = new int[null];
}
}
class Test {
public static void main(String[] args) {
Test test = null;
(test = new Test()).test();
(test = new Test()).test = 5;
(test.test()).test();
Test[] tests = null;
(tests = new Test[5])[0].test();
new Test[5][0].test();
}
public Test test() {
return this;
}
public int test;
}
class Test {
public static void main(String[] args) {
Foo foo = new Foo();
foo.foo();
foo.foo = 123;
foo.main(null);
}
}
class Test {
public static void main(String[] args) {
boolean test = System == System;
}
}
class Test {
public static void main(String[] args) {
boolean test = System.in == System.in;
}
}
class Test {
public static void main(String[] args) {
boolean test = System.out == null;
}
}
class Test {
public static void main(String[] args) {
boolean test = System.out == System.out;
}
}
class Test {
public static void main(String[] args) {
boolean b = null && 2;
}
}
class Test {
public static void main(String[] args) {
}
public int foo() {
return;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment