final ParserImpl p1 = parserImpl("package");
checkError(list(_UnexpectedToken("a package name", "<EOF>", 1)), Pkg._Pkg(NO_COMMENTS, "NO_IDENTIFIER@1"), p1.pkg(), p1);
final ParserImpl p3 = parserImpl("package 42");
checkError(list(_UnexpectedToken("a package name", "'42'", 1)), Pkg._Pkg(NO_COMMENTS, "BAD_IDENTIFIER_42@1"), p3.pkg(), p3);
final ParserImpl p4 = parserImpl("package boolean");
checkError(list(_UnexpectedToken("a package name", "'boolean'", 1)), Pkg._Pkg(NO_COMMENTS, "BAD_IDENTIFIER_boolean@1"), p4.pkg(), p4);
}