test/langtools/tools/javac/7102515/T7102515.java
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 10812 langtools/test/tools/javac/7102515/T7102515.java@7341374e12e8
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse

/*
 * @test /nodynamiccopyright/
 * @bug 7102515
 * @summary javac running very very long and not returning
 * @compile/fail/ref=T7102515.out -XDrawDiagnostics T7102515.java
 */

class T7102515 {
    T7102515 badBinary = new T7102515() + new T7102515();
    Object badUnary = badBinary++;
}