/** * @test /nodynamiccopyright/ * @bug 6799605 * @summary Basic/Raw formatters should use type/symbol printer instead of toString() * @author mcimadamore * @compile/fail/ref=T6799605.out -XDrawDiagnostics T6799605.java * @compile/fail/ref=T6799605.out -XDoldDiags -XDrawDiagnostics T6799605.java */ class T6799605 { > void m(T6799605 x1) {} void m(T6799605 x1, T6799605 x2) {} void m(T6799605 x1, T6799605 x2, T6799605 x3) {} void test(T6799605 t) { m(t); m(t, t); m(t, t, t); } }