You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
-
- public class AmbiguousClassReference4CE {
-
- /** @testcase PR#701 PUREJAVA CE for ambiguous type reference (two inner types)
- * see also testcase PR#631 */
- public static void main(String[] args) {
- throw new Error("Expecting compiler error, not compile/run");
- }
- static class Foo {} // CE: "duplicate type name"
- static interface Foo {} // CE: "duplicate type name"
- }
-
|