2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2014-07-07 20:39:31 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4914724
|
|
|
|
* @summary Ensure that the invalid surrogate sequence, as the start of an identifier,
|
|
|
|
* causes a compilation failure
|
|
|
|
* @author Naoto Sato
|
|
|
|
*
|
2014-07-07 20:39:31 +00:00
|
|
|
* @compile/fail/ref=SupplementaryJavaID2.out -XDrawDiagnostics SupplementaryJavaID2.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class SupplementaryJavaID2 {
|
|
|
|
int \ud801\ud801abc;
|
|
|
|
}
|