blob: 1658e29e23a8cd1686ec4919806bc138d94e9ea4 [file] [log] [blame]
/*
* @test /nodynamiccopyright/
* @bug 5073060
* @summary Package private members not found for intersection types
* @author Peter von der Ah\u00e9
* @compile/fail/ref=Neg.out -XDrawDiagnostics NegHelper.java Neg.java
*/
public class Neg<T extends test.NegHelper & Cloneable> {
void test(T t) { t.foo(); }
}