langtools/test/tools/javac/literals/T6891079.java
author ssides
Wed, 09 Jul 2014 15:14:06 +0400
changeset 25760 7955db32d6b0
parent 4072 70eaf9773f81
child 34997 8174a7d851fb
permissions -rw-r--r--
8046597: fix doclint issues in swing classes, part 4 of 4 Reviewed-by: pchelko

/* @test /nodynamiccopyright/
 * @bug 6891079
 * @summary Compiler allows invalid binary literals 0b and oBL
 * @compile/fail/ref=T6891079.out -XDrawDiagnostics T6891079.java
 */

class Test {
    int bi = 0B;
    long bl = 0BL;
    int xi = 0X;
    long xl = 0XL;
}