Mercurial > projects > dstress
view run/s/switch_22_C.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +0200 |
parents | 986983b8cf7a |
children | cc724d521a34 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ <BCS@pathlink.com> // @date@ 2006-06-16 // @uri@ news:e6umde$2ok0$2@digitaldaemon.com // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=729 module dstress.run.s.switch_22_C; int main(){ int i = 2; switch(3){ scope(success) i--; default: } if(i != 2){ assert(0); } return 0; }