This commit is contained in:
Dmitry Jemerov
2009-09-10 20:03:37 +04:00
parent 735897ab61
commit d1b91105a2
31 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
class FirstClass {
void y() {
new SecondClass().x();
}
}
class SecondClass {
SecondClass g() { return null; }
void x() {
if (this != null) g().x();
}
}