Mercurial > projects > dstress
comparison run/double_quoted_string_04.d @ 1560:36bedfa079e6
D1 -> D2 : 2/N
author | thomask |
---|---|
date | Sun, 19 Aug 2007 19:15:01 +0000 |
parents | f87ba6507260 |
children |
comparison
equal
deleted
inserted
replaced
1559:ec5e144583ea | 1560:36bedfa079e6 |
---|---|
3 // $Author$ | 3 // $Author$ |
4 | 4 |
5 module dstress.run.double_quoted_string_04; | 5 module dstress.run.double_quoted_string_04; |
6 | 6 |
7 int main(){ | 7 int main(){ |
8 char[] string="\t"; | 8 string x="\t"; |
9 assert(string.length==1); | 9 assert(x.length==1); |
10 assert(string[0]==0x09); | 10 assert(x[0]==0x09); |
11 return 0; | 11 return 0; |
12 } | 12 } |