void () { doTest("import test.Parent;" + "class Child extends Parent<String> {" + " void /*Method 'foo()' overrides a package-private method of a superclass located in another package*/foo/**/() {}" + "}"); }