Mercurial > projects > dstress
changeset 411:9d15bae5fb5e
tocsym.c:217: virtual Symbol* VarDeclaration::toSymbol(): Assertion `0' failed.
Nick <Nick_member@pathlink.com>
2005-04-08
news:d36gbn$31ic$1@digitaldaemon.com
author | thomask |
---|---|
date | Fri, 08 Apr 2005 19:07:41 +0000 |
parents | 537363a856bf |
children | 6fe8e3a31aed |
files | run/bug_tocsym_217_01.d run/bug_tocsym_217_02.d run/bug_tocsym_217_03.d run/bug_tocsym_217_04.d |
diffstat | 4 files changed, 118 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/bug_tocsym_217_01.d Fri Apr 08 19:07:41 2005 +0000 @@ -0,0 +1,30 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Nick <Nick_member@pathlink.com> +// @date@ 2005-04-08 +// @uri@ news:d36gbn$31ic$1@digitaldaemon.com + +module dstress.run.bug_tocsym_217_01; + +class A{ + ~this(){ + } +} + +int main(){ + auto A a = new A(); + + try{ + }catch(Exception e){ + try{ + assert(e); + }catch{ + } + } + + return 0; +} + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/bug_tocsym_217_02.d Fri Apr 08 19:07:41 2005 +0000 @@ -0,0 +1,28 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Nick <Nick_member@pathlink.com> +// @date@ 2005-04-08 +// @uri@ news:d36gbn$31ic$1@digitaldaemon.com + +module dstress.run.bug_tocsym_217_02; + +class A{ +} + +int main(){ + auto A a = new A(); + + try{ + }catch(Exception e){ + try{ + assert(e); + }catch{ + } + } + + return 0; +} + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/bug_tocsym_217_03.d Fri Apr 08 19:07:41 2005 +0000 @@ -0,0 +1,30 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Nick <Nick_member@pathlink.com> +// @date@ 2005-04-08 +// @uri@ news:d36gbn$31ic$1@digitaldaemon.com + +module dstress.run.bug_tocsym_217_03; + +class A{ + ~this(){ + } +} + +int main(){ + A a = new A(); + + try{ + }catch(Exception e){ + try{ + assert(e); + }catch{ + } + } + + return 0; +} + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/bug_tocsym_217_04.d Fri Apr 08 19:07:41 2005 +0000 @@ -0,0 +1,30 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Nick <Nick_member@pathlink.com> +// @date@ 2005-04-08 +// @uri@ news:d36gbn$31ic$1@digitaldaemon.com + +module dstress.run.bug_tocsym_217_04; + +class A{ + ~this(){ + } +} + +int main(){ + auto A a = new A(); + + try{ + }catch(Exception e){ + try{ + assert(a); + }catch{ + } + } + + return 0; +} + +