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

/*
 * @test /nodynamiccopyright/
 * @bug 1265387
 * @summary ''' and '\u0027' are not legal char literals.
 * @author turnidge
 *
 * @compile/fail/ref=TripleQuote.out -XDrawDiagnostics  TripleQuote.java
 */

public
class TripleQuote {
    char c = '\u0027';
    char d = ''';
}