Mercurial > projects > dstress
view run/t/template_64_A.d @ 1609:3c803614a8fb
Add a few missing abstracts.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 26 Apr 2009 13:38:23 +0200 |
parents | 5e981cf4a7d5 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Christian Kamm <kamm@incasoftware.de> // @date@ 2007-04-24 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=540 module dstress.run.t.template_64_A; template A(){ static T foo(T)(T t){ return t + 1; } } struct Bar{ mixin A!() a; } int main(){ if(2 != A!().foo(1)){ assert(0); } return 0; }