Mercurial > projects > dstress
diff run/opCatAssign_14.d @ 870:38ea1bb385b6
bit -> bool and __DSTRESS_TORTURE_BLOCK__ fixes
author | thomask |
---|---|
date | Sun, 26 Feb 2006 17:45:46 +0000 |
parents | 537363a856bf |
children |
line wrap: on
line diff
--- a/run/opCatAssign_14.d Sat Feb 25 08:30:52 2006 +0000 +++ b/run/opCatAssign_14.d Sun Feb 26 17:45:46 2006 +0000 @@ -9,7 +9,7 @@ module dstress.run.opCatAssign_13; int main(){ - static bit[] a = [true, true, false, true, false]; + static bool[] a = [true, true, false, true, false]; assert(a.length==5); assert(a[0]==true); assert(a[1]==true); @@ -17,7 +17,7 @@ assert(a[3]==true); assert(a[4]==false); - bit[] b = a.dup; + bool[] b = a.dup; assert(a.length==5); assert(a[0]==true); assert(a[1]==true);