langtools/test/tools/javac/T7120463.java
author sogoel
Thu, 05 Jun 2014 10:57:10 -0700
changeset 24797 850ebd4d80a7
parent 20250 26472e76d2f5
permissions -rw-r--r--
8044072: Group 2: create .out files for OverrideChecks tests in tools/javac dir Reviewed-by: jjg

/*
 * @test /nodynamiccopyright/
 * @bug 7120463
 * @summary Fix method reference parser support in order to avoid ambiguities
 * @compile/fail/ref=T7120463.out -XDrawDiagnostics T7120463.java
 */

class T7120463 {
    void test() { that(i < len, "oopmap"); }
    void that(int i, String s) { };
}