Mercurial > projects > dstress
view undefined/auto_05.d @ 518:116be68a7a67
auto_05 is undefined
author | thomask |
---|---|
date | Wed, 11 May 2005 15:19:10 +0000 |
parents | norun/auto_05.d@db4b6169a99d |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Lionello Lunesu <lio@lunesu.removethis.com> // @date@ 2005-03-25 // @uri@ news:d2175a$2u8h$1@digitaldaemon.com module dstress.undefined.auto_05; class AutoClass{ int test() { return 0; } } AutoClass b; void autotest(){ auto AutoClass c = new AutoClass(); b = c; } int main(){ autotest(); b.test(); // *undefined* return 0; }