Mercurial > projects > dstress
changeset 721:9c56e95b4ec8
Tiago Gasiba <tiago.gasiba@gmail.com>
2005-10-24
news:dji2d3$acl$1@digitaldaemon.com
author | thomask |
---|---|
date | Fri, 28 Oct 2005 21:30:26 +0000 |
parents | 038d8bcdcf93 |
children | 283709990093 |
files | nocompile/b/bug_tocsym_142_A.d nocompile/b/bug_tocsym_142_B.d nocompile/b/bug_tocsym_142_C.d nocompile/b/bug_tocsym_142_D.d |
diffstat | 4 files changed, 96 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/b/bug_tocsym_142_A.d Fri Oct 28 21:30:26 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @desc@ tocsym.c:142: virtual Symbol* VarDeclaration::toSymbol(): Assertion `!needThis()' failed. +// @author@ Tiago Gasiba <tiago.gasiba@gmail.com> +// @date@ 2005-10-24 +// @uri@ news:dji2d3$acl$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 22 + +module dstress.nocompile.b.bug_tocsym_142_A; + +struct S{ + int i; +} + +class C{ + S s; + + static int bug(){ + return s.i; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/b/bug_tocsym_142_B.d Fri Oct 28 21:30:26 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @desc@ tocsym.c:142: virtual Symbol* VarDeclaration::toSymbol(): Assertion `!needThis()' failed. +// @author@ Tiago Gasiba <tiago.gasiba@gmail.com> +// @date@ 2005-10-24 +// @uri@ news:dji2d3$acl$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 22 + +module dstress.nocompile.b.bug_tocsym_142_B; + +class S{ + int i; +} + +class C{ + S s; + + static int bug(){ + return s.i; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/b/bug_tocsym_142_C.d Fri Oct 28 21:30:26 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @desc@ tocsym.c:142: virtual Symbol* VarDeclaration::toSymbol(): Assertion `!needThis()' failed. +// @author@ Tiago Gasiba <tiago.gasiba@gmail.com> +// @date@ 2005-10-24 +// @uri@ news:dji2d3$acl$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 22 + +module dstress.nocompile.b.bug_tocsym_142_C; + +class S{ + int i; +} + +struct C{ + S s; + + static int bug(){ + return s.i; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/b/bug_tocsym_142_D.d Fri Oct 28 21:30:26 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @desc@ tocsym.c:142: virtual Symbol* VarDeclaration::toSymbol(): Assertion `!needThis()' failed. +// @author@ Tiago Gasiba <tiago.gasiba@gmail.com> +// @date@ 2005-10-24 +// @uri@ news:dji2d3$acl$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 22 + +module dstress.nocompile.b.bug_tocsym_142_D; + +struct S{ + int i; +} + +struct C{ + S s; + + static int bug(){ + return s.i; + } +}