2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2014-09-05 23:43:00 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2017-07-19 06:14:08 +00:00
|
|
|
* @bug 5019614 8057647
|
2007-12-01 00:00:00 +00:00
|
|
|
* @summary variance prototype syntax leftover
|
|
|
|
*
|
2014-09-05 23:43:00 +00:00
|
|
|
* @compile/fail/ref=ExtraneousEquals.out -XDrawDiagnostics ExtraneousEquals.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class ExtraneousEquals {
|
|
|
|
int[] foo = new int[=] { 1, 2, 3 };
|
|
|
|
}
|