Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com Patches, unit tests, benchmarks, whitepaper, and outreach briefs. Public domain — no copyright claimed. Use freely.
13 lines
360 B
Java
13 lines
360 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 4914724
|
|
* @summary Ensure that the invalid surrogate sequence, as the part of an identifier,
|
|
* causes a compilation failure
|
|
* @author Naoto Sato
|
|
*
|
|
* @compile/fail/ref=SupplementaryJavaID3.out -XDrawDiagnostics SupplementaryJavaID3.java
|
|
*/
|
|
|
|
public class SupplementaryJavaID3 {
|
|
int abc\ud801\ud801;
|
|
}
|