Mercurial > projects > dstress
view run/b/bug_cod2_4211_B.d @ 601:9156914a7518
Internal error: ../ztc/cod2.c 4211
Deewiant <deewiant.doesnotlike.spam@gmail.com>
2005-07-07
news:dajn75$1hfl$1@digitaldaemon.com
author | thomask |
---|---|
date | Thu, 07 Jul 2005 17:47:55 +0000 |
parents | |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> // @date@ 2005-07-07 // @uri@ news:dajn75$1hfl$1@digitaldaemon.com // @desc@ Internal error: ../ztc/cod2.c 4211 module dstress.run.b.bug_cod2_4211_B; struct Foo{ ubyte a, b; } int bar(Foo e){ return e.a + e.b; } int main() { Foo d; d.a=1; d.b=2; assert(bar(d)==3); return 0; }