Mercurial > projects > dstress
changeset 1214:a457151d9c6f
[Issue 460] New: Assertion failure: '!needThis()' on line 143 in file 'tocsym.c'
Bradley Smith <digitalmars-com@baysmith.com>
2006-10-25
news:bug-460-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Wed, 08 Nov 2006 15:24:22 +0000 |
parents | 90676a1cf4ac |
children | 106179f3142f |
files | nocompile/b/bug_tocsym_142_E.d |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/b/bug_tocsym_142_E.d Wed Nov 08 15:24:22 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Bradley Smith <digitalmars-com@baysmith.com> +// @date@ 2006-10-25 +// @uri@ news:bug-460-3@http.d.puremagic.com/issues/ +// @desc@ [Issue 460] New: Assertion failure: '!needThis()' on line 143 in file 'tocsym.c' + +// __DSTRESS_ELINE__ 19 + +module dstress.nocompile.b.bug_tocsym_142_E; + +struct S { + int i; +} + +void foo() { + void* f = &S.i; +}