langtools/test/tools/javac/6840059/T6840059.java
author mikejwre
Wed, 09 Jun 2010 18:56:41 -0700
changeset 5634 895b66935810
parent 3766 7e2df99e9223
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 6840059
 * @summary 6758789: Some method resolution diagnostic should be improved
 * @author Maurizio Cimadamore
 *
 * @compile/fail/ref=T6840059.out -XDrawDiagnostics T6840059.java
 */

class T6840059 {

    T6840059(Integer x) {}

    void test() {
        new T6840059(""){};
    }
}