summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/c_literal.dat
blob: deaca6798e956a7eeb6a4d08699cad55a0b7250b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
$echo file:c_literal.dat
$echo test out 8 c literal variations where 8th is in error
$echo literal has not been closed off by the closing ' 
$echo but the esc seq not completed first
*/
'\n\t\v\b\r\f\a\\\?\"\'\\'// \test escape str 1
''// zero filled string str2
'\''// string of 1 'str3
'\'\''// string of 2 ''str4
'hello world'//str5
'"'////str6
'"""'//str7
'\