langtools/test/tools/javac/generics/T5011073.java
author sogoel
Fri, 15 May 2015 16:53:42 -0700
changeset 30721 1024d425d97e
parent 30719 91834c070ba5
permissions -rw-r--r--
8074425: Group 13b: golden files for tests in tools/javac/generics dir Reviewed-by: jjg, darcy, mcimadamore

/*
 * @test /nodynamiccopyright/
 * @bug 5011073
 * @summary javac should implement JLS3 three-pass overload resolution
 * @author gafter
 *
 * @compile/fail/ref=T5011073.out -XDrawDiagnostics   T5011073.java
 */

import java.util.*;
class T5011073 {
    static void f(Set<String> s, Class<String> c) {}

    static void g(Set<Integer> s, Class c) {
        f(s, c);
    }
}