Mercurial > projects > dstress
view compile/inline_03.d @ 1622:d402aa53926c
Add test for bug 3092 written by Manuel K?nig
author | Leandro Lucarella <llucax@gmail.com> |
---|---|
date | Tue, 19 Oct 2010 19:18:23 -0300 |
parents | 5c6df2afb08f |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ nail <nail_member@pathlink.com> // @date@ 2005-02-06 // @uri@ news:cu5ghl$1cpd$1@digitaldaemon.com module dstress.compile.inline_03; struct Struct{ static Struct bug(){ Struct mat; with (mat){ } return mat; } static Struct check(){ Struct a; return Struct.bug() * a; } Struct opMul(Struct mat){ return mat; } }