Mercurial > projects > dstress
view run/s/switch_22_H.d @ 1615:8d5c55d163fd
Fix some outdated tests that used auto to mean scope.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Jul 2009 16:44:52 +0200 |
parents | 986983b8cf7a |
children |
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_H; int main(){ int i = 3; switch(2){ case 2: scope(success) i++; default: } if(i != 4){ assert(0); } return 0; }