void () { I1 s1 = <error descr="Non-static method cannot be referenced from a static context">MyTest1 ::m1</error>; call1(<error descr="Non-static method cannot be referenced from a static context">MyTest1::m1</error>); I1 s2 = MyTest1 :: m2; call1(MyTest1::m2); I1 s3 = MyTest1::m3; call1(MyTest1::m3); I1 s4 = <error descr="Non-static method cannot be referenced from a static context">MyTest1::m4</error>; call1(<error descr="Non-static method cannot be referenced from a static context">MyTest1::m4</error>); }