/*
* @test /nodynamiccopyright/
* @bug 6939620 7020044
*
* @summary Check that diamond fails when inference violates declared bounds
* @author mcimadamore
* @compile/fail/ref=Neg02.out Neg02.java -XDrawDiagnostics
*
*/
class Neg02 {
Foo(X x) {}
<Z> Foo(X x, Z z) {}
}
void testSimple() {
}
void testQualified() {
}
}