langtools/test/tools/javac/unicode/SupplementaryJavaID2.java
author sogoel
Mon, 07 Jul 2014 13:39:31 -0700
changeset 25439 26d6d07eebc7
parent 5520 86e4b9a9da40
permissions -rw-r--r--
8044080: .out files for unicode, implicitThis and importChecks tests in tools/javac dir Reviewed-by: jjg

/*
 * @test /nodynamiccopyright/
 * @bug 4914724
 * @summary Ensure that the invalid surrogate sequence, as the start of an identifier,
 *          causes a compilation failure
 * @author Naoto Sato
 *
 * @compile/fail/ref=SupplementaryJavaID2.out -XDrawDiagnostics  SupplementaryJavaID2.java
 */

public class SupplementaryJavaID2 {
    int \ud801\ud801abc;
}