Mercurial > projects > dstress
view run/auto_01.d @ 516:592f9ae41ba5
post DMD-0.122 review [1+2/n]
author | thomask |
---|---|
date | Tue, 10 May 2005 23:59:14 +0000 |
parents | a33ad7189d21 |
children | fbee62becd2c |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Sean Kelly <sean@f4.ca> // @date@ 2004-09-11 // @uri@ news:chtj6t$24bm$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/1821 module dstress.run.auto_01; auto class AutoClass{ this(){ throw new Exception("error msg"); } ~this(){ assert(0); } } int main(){ try{ auto AutoClass ac = new AutoClass(); }catch{ return 0; } }