Mercurial > projects > dstress
view run/switch_14.d @ 1383:52c9e86b6486
@url@ -> @uri@
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:07:35 +0000 |
parents | f87ba6507260 |
children | 6e4063f99377 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> // @date@ 2004-11-17 // @uri@ news:l3hr62-qov.ln1@kuehne.cn // @uri@ nntp://digitalmars.com/digitalmars.D.bugs/2289 module dstress.run.switch_14; int main(){ dchar[] array = "123"; switch(array){ case "12":{ assert(0); }case "123":{ return 0; }case "1234":{ assert(0); }default:{ assert(0); } } }