Mercurial > projects > dstress
view run/s/static_if_05_B.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | 893c2d75daf4 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn> // @date@ 2005-06-10 // @uri@ news:oouon2-li3.ln1@lnews.kuehne.cn // @desc@ mixing "static if" and "if" module dstress.run.s.static_of_05_B; int main(){ const int i=3; if(i==1){ return 2; }else static if(i==2){ return 1; }else if(i==3){ return 0; } }