comparison run/Alternate_Wysiwyg_String_03.d @ 1560:36bedfa079e6

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