10 lines
196 B
Plaintext
10 lines
196 B
Plaintext
|
main() {
|
||
|
str := "\0\t\n\r\"\'\\"
|
||
|
assert str[0] == '\0'
|
||
|
assert str[1] == '\t'
|
||
|
assert str[2] == '\n'
|
||
|
assert str[3] == '\r'
|
||
|
assert str[4] == '\"'
|
||
|
assert str[5] == '\''
|
||
|
assert str[6] == '\\'
|
||
|
}
|