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