jdk
1/*
2* @test /nodynamiccopyright/
3* @bug 5019614 8057647
4* @summary variance prototype syntax leftover
5*
6* @compile/fail/ref=ExtraneousEquals.out -XDrawDiagnostics ExtraneousEquals.java
7*/
8
9public class ExtraneousEquals {
10int[] foo = new int[=] { 1, 2, 3 };
11}
12