package test; public class Demo { void g() { new Demo(7).foo(null); x++; this.x++; } }