annotate run/double_quoted_string_08.d @ 26:17cbb8970edc

added string escape tests
author thomask
date Sat, 09 Oct 2004 12:01:24 +0000
parents
children f87ba6507260
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
17cbb8970edc added string escape tests
thomask
parents:
diff changeset
1 int main(){
17cbb8970edc added string escape tests
thomask
parents:
diff changeset
2 char[] string="\a";
17cbb8970edc added string escape tests
thomask
parents:
diff changeset
3 assert(string.length==1);
17cbb8970edc added string escape tests
thomask
parents:
diff changeset
4 assert(string[0]==0x07);
17cbb8970edc added string escape tests
thomask
parents:
diff changeset
5 return 0;
17cbb8970edc added string escape tests
thomask
parents:
diff changeset
6 }