Mercurial > projects > dstress
view run/f/foreach_33_B.d @ 1599:d37b19f7e8bb
Move run/c/case_01 to nocompile.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 17:28:31 +0200 |
parents | a929acac9127 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstess.run.f.foreach_33_B; int main(){ int sum = 0; char[] data = "\u0001\u0010\u0030"; char c = 0x20; foreach(x; data){ sum += x; } if(c != 0x20){ assert(0); } if(sum != 0x41){ assert(0); } return 0; }