test/tools/javac/diags/examples/IllegalChar.java

changeset 1145
3343b22e2761
parent 610
3640b60bd0f6
child 2525
2eb010b6cb22
equal deleted inserted replaced
1144:9448fe783fd2 1145:3343b22e2761
1 /* 1 /*
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
22 */ 22 */
23 23
24 // key: compiler.err.illegal.char 24 // key: compiler.err.illegal.char
25 25
26 class IllegalChar { 26 class IllegalChar {
27 int i = #; 27 int i = `;
28 } 28 }

mercurial