Jonathan Gibbons ccd014ed3f 6971882: Remove -XDstdout from javac test
Reviewed-by: darcy
2010-07-26 14:18:45 -07:00

14 lines
357 B
Java

/*
* @test /nodynamiccopyright/
* @bug 6424491
* @summary javac accepts illegal forward references
* @author Peter von der Ah\u00e9
* @compile/fail/ref=T6425594.out -XDrawDiagnostics -XDuseBeforeDeclarationWarning T6425594.java
*/
public class T6425594 {
static int x = T6425594.x;
static final int y = z;
static final int z = 0;
}