TypeScript/tests/baselines/reference/scannerStringLiterals.js

26 lines
365 B
TypeScript

//// [scannerStringLiterals.ts]
""
" "
"a"
"'"
'"'
"\""
'\u2192\ '
"Legal line continuation \
"
"Should error because of newline.
"Should error because of end of file.
//// [scannerStringLiterals.js]
"";
" ";
"a";
"'";
'"';
"\"";
'\u2192\ ';
"Legal line continuation \
";
"Should error because of newline.;
"Should error because of end of file.;