publicclassAmbiguousClassReference3CE{/** @testcase PR#701 PUREJAVA CE for ambiguous type reference (two type declarations) * see also testcase PR#631 */publicstaticvoidmain(String[]args){thrownewError("Expecting compiler error, not compile/run");}}classFoo{}// expect: "duplicate type name"interfaceFoo{}// expect: "duplicate type name"classBar{Foof;}