Mercurial > projects > dstress
view nocompile/cast_10.d @ 1383:52c9e86b6486
@url@ -> @uri@
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:07:35 +0000 |
parents | bd5c0f9ebec7 |
children | d3a3e0c251d8 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Jarrett Billingsley <kb3ctd2@yahoo.com> // @date@ 2005-01-09 // @uri@ news:crshla$2io3$1@digitaldaemon.com // @uri@ nntp://news.digitalmars.com/digitalmars.D.bugs/2659 // __DSTESS_ELINE__ 25 module dstress.nocompile.cast_10; class Parent{ } class Child : Parent { } void test(inout Parent p){ } int main(){ Child c = new Child(); test(c); return 0; }