Mercurial > projects > dstress
comparison run/Alternate_Wysiwyg_String_16.d @ 1559:ec5e144583ea
D1 -> D2 : 1/N
author | thomask |
---|---|
date | Sun, 19 Aug 2007 19:11:54 +0000 |
parents | f87ba6507260 |
children |
comparison
equal
deleted
inserted
replaced
1558:d40d75fcd5c5 | 1559:ec5e144583ea |
---|---|
3 // $Author$ | 3 // $Author$ |
4 | 4 |
5 module dstress.run.Alternate_Wysiwyg_String_16; | 5 module dstress.run.Alternate_Wysiwyg_String_16; |
6 | 6 |
7 int main(){ | 7 int main(){ |
8 char[] string=`"`; | 8 string arr=`"`; |
9 assert(string.length==1); | 9 if(1 != arr.length){ assert(0); } |
10 assert(string[0]=='"'); | 10 if('"' != arr[0]){ assert(0); } |
11 return 0; | 11 return 0; |
12 } | 12 } |