Mercurial > projects > dstress
diff run/throw_02.d @ 125:42715df986eb
Sean Kelly <sean@f4.ca> news://cmsg75$rom$1@digitaldaemon.com nttp://digitalmars.com/digitalmars.D.bugs:2240
author | thomask |
---|---|
date | Wed, 10 Nov 2004 08:08:54 +0000 |
parents | |
children | a33ad7189d21 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/throw_02.d Wed Nov 10 08:08:54 2004 +0000 @@ -0,0 +1,22 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Sean Kelly <sean@f4.ca> +// @date@ 2004-11-10 +// @uri@ news://cmsg75$rom$1@digitaldaemon.com +// @url@ nttp://digitalmars.com/digitalmars.D.bugs:2240 + +class Class{ +} + +typedef Class Alias; + +int main(){ + try{ + throw new Alias(); + }catch{ + return 0; + } + assert(0); +}