Commit 3a18bd04 authored by uwdkn's avatar uwdkn
Browse files

Merge branch 'even-more-semantic-tests' into 'master'

Even more semantic tests

See merge request !40
parents d552f364 420e2493
class Main {
public static void main(String[] arguments) {
A a = new A();
a.foo();
}
}
class A {
public void foo() {
bar (new B());
}
public void bar(A a) {
}
}
class B {
}
class Main {
public static void main(String[] arguments) {
A a = new A();
A a2 = a.foo();
}
}
class A {
public A foo() {
return new B();
}
}
class B {
}
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