langtools/test/tools/javac/ExtraneousEquals.java
author duke
Wed, 05 Jul 2017 23:01:50 +0200
changeset 44228 e46434c65a2b
parent 26528 a1a7ad15183e
child 45915 1afba647cd44
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 5019614
 * @summary variance prototype syntax leftover
 *
 * @compile/fail/ref=ExtraneousEquals.out -XDrawDiagnostics ExtraneousEquals.java
 */

public class ExtraneousEquals {
  int[] foo = new int[=] { 1, 2, 3 };
}