jdk
1/*
2* @test /nodynamiccopyright/
3* @bug 6183529
4* @summary javac gives warnings instead of errors on non-ASCII digits
5* @compile/fail/ref=Digits.out -XDrawDiagnostics Digits.java
6*/
7
8class Digits
9{
10public static final double good = 1.23;
11public static final double bad = 1.2\u0663;
12}
13