blob: 7375792a1c262b6db5d7c8f503115798484c8d2b [file] [log] [blame]
/*
* @test /nodynamiccopyright/
* @bug 6199146
* @summary Javac accepts ambiguous compound type
* @compile/fail/ref=T6199146.out -XDrawDiagnostics T6199146.java
*/
public class T6199146 {
static class Test2 <T extends I1 & I2> { }
static interface I1 {
int getFoo();
}
static interface I2 {
float getFoo();
}
}