Mercurial > projects > dstress
view run/s/static_if_01_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 | c4c154735ebb |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.s.static_if_01_B; const int a = 2; const int b = 3; static if (a == b - 1){ const int c = a + b; }else{ static assert(0); } int main(){ if(c == 5){ return 0; } }