/*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// string literal
public class a {
char c1 = '';
char c2 = '\dd';
char c4 = 'xxx';
char c5 = '\78';
char c6 = '\78';
char[] cA = new char[] { 'd','\b','\f','\n','\r'
,'\t','"','\\',' ','\u1234','\uFFFF'
, '\7', '\77', '\345', '\0', 'x
};
String s1 = "\xd";
String s11= "\udX";
String s12= "c:\TEMP\test.jar";
String s3 = "";
String s4 = "\u0000";
String s5 = "\u000d";
String s6 = "\u000a";
String s7 = "\
";
String s8 = "\ubad\ubad \ubad \ubad";
char c7 = '\u000d';
char c8 = '\u000a';
char c9 = '\u';
char c10 = '\
';
String perverts = "\uuuuuuuuuuuu1234";
String perverts2 = "\uuuuuuuuuuuu123";
char perv2 = '\uu3264';
String backSlash1 = "\u005c";
String backSlash2 = "\u005c\";
String backSlash3 = "\\u005c";
String backSlash4 = "\u005c\u005c";
String backSlash5 = "\u005c134";
String backSlash6 = "\134\u005c";
String backSlash7 = "\u005c\134";
String backSlash8 = "\u005c\u0022";
char backSlash9 = '\u005c\u0027';
void foo(String a) {
foo("aaa
);
}
String[] s = {
"unclosed
};
}