Mercurial > projects > dstress
view run/m/mixin_24_C.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 0e2d92ff0643 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Sean Kelly <sean@f4.ca> // @date@ 2006-09-11 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=343 // @desc@ [Issue 343] New: Compile error using mixin containing struct module dstress.run.m.mixin_24_C; typedef int MyInt = 1; struct S{ MyInt i; } template T(){ S s; } int main(){ mixin T!(); if(s.i != cast(MyInt)1){ assert(0); } return 0; }