Mercurial > projects > dstress
view run/s/static_if_05_A.d @ 1541:fe62f80b7ea1
[Issue 1253] DMD 0.175 introduced bug: array initializers as expressions are not allowed?
Oskar Linde <oskar.linde@gmail.com>
2007-06-01
http://d.puremagic.com/issues/show_bug.cgi?id=1253
author | thomask |
---|---|
date | Sun, 01 Jul 2007 13:18:21 +0000 |
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_A; int main(){ const int i=1; static if(i==1){ return 0; }else if(i==2){ return 1; } }