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