jdk-24/test/langtools/tools/javac/T6230128.java

13 lines
231 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
* @bug 6230128
* @compile/fail/ref=T6230128.out -XDrawDiagnostics T6230128.java
2007-12-01 00:00:00 +00:00
*/
class A1 {
public void foo(Object[] args) { }
}
class A1a extends A1 {
void foo(Object... args) { }
}