summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/c_string.dat
blob: 6f020c2c0bb01b69dabfad53569f7ff3ed9db386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
$echo file:c_string.dat
$echo test out 8 c++ strings where 8th is in error
$echo c string literal has not been closed off by the closing "
$echo but its starting escape seq is not completed before closing "
*/
""// zero filled string
"\""// string of 1 "
"\"\""// string of 2 ""
"hello world"
"'"
"'''"
"\n\t\v\b\r\f\a\\\?\'\"\\"// \test escape
"\