File: Neg23.java

package info (click to toggle)
libnb-javaparser-java 9%2B2018-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 65,172 kB
  • sloc: java: 440,096; xml: 6,359; sh: 865; makefile: 314
file content (12 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * @test /nodynamiccopyright/
 * @bug 8132535
 * @summary Compiler fails with diamond anonymous class creation with intersection bound of enclosing class.
 * @compile/fail/ref=Neg23.out Neg23.java -XDrawDiagnostics
 */

public class Neg23  {
    {
        new pkg.Neg23_01<>().new Inner<>();
    }
}