langtools/test/tools/javac/unicode/UnicodeNewline.java
author katleman
Thu, 21 Aug 2014 14:16:14 -0700
changeset 25878 6d561031123e
parent 6150 d055fa8ced62
child 39812 6272642715a1
permissions -rw-r--r--
Added tag jdk9-b27 for changeset 98ce0879ab4c

/*
 * @test  /nodynamiccopyright/
 * @bug 4739428 4785453
 * @summary when \u000a is used, diagnostics are reported on the wrong line.
 *
 * @compile/fail/ref=UnicodeNewline.out -XDdiags=%b:%l:%_%m UnicodeNewline.java
 */

class UnicodeNewline {
    // \u000a \u000a \u000a
    xyzzy plugh; // error should be HERE
}