1
Fork 0
mini-java/miniJava/tests/pa2_tests/pass222.java

10 lines
210 B
Java
Raw Normal View History

// PA2 pass AST references in arguments and method invocations
class C {
public void foo() {
// "this" as reference and as qualifier
this.foo(3, this);
other.foo(4, other);
}
}