comparison run/Alternate_Wysiwyg_String_02.d @ 1559:ec5e144583ea

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