Mercurial > projects > dstress
changeset 362:d049cc89b187
bug_cgcod_1445
Brian Gardner <briangr@friberg.us>
2005-03-23
news:d1sald$2u6e$1@digitaldaemon.com
author | thomask |
---|---|
date | Fri, 25 Mar 2005 07:09:48 +0000 |
parents | 0147a35cbeb7 |
children | 56eae111e8ef |
files | nocompile/bug_cgcod_1445_A.d nocompile/bug_cgcod_1445_B.d reporter.txt |
diffstat | 3 files changed, 49 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/bug_cgcod_1445_A.d Fri Mar 25 07:09:48 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Brian Gardner <briangr@friberg.us> +// @date@ 2005-03-23 +// @uri@ news:d1sald$2u6e$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 13 + +module dstress.nocompile.bug_cgcod_1445_A; + +typedef u *u(); + +u s(){ + static int x = 0; + return s; +} + +int main(){ + s(); + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/bug_cgcod_1445_B.d Fri Mar 25 07:09:48 2005 +0000 @@ -0,0 +1,24 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Brian Gardner <briangr@friberg.us> +// @date@ 2005-03-23 +// @uri@ news:d1sald$2u6e$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 13 + +module dstress.nocompile.bug_cgcod_1445_B; + +typedef u *u(); + +u s(){ + static int x = 0; + return s(); +} + +int main(){ + s(); + return 0; +} +
--- a/reporter.txt Fri Mar 25 05:25:33 2005 +0000 +++ b/reporter.txt Fri Mar 25 07:09:48 2005 +0000 @@ -8,6 +8,7 @@ Ben Hinkle <bhinkle4@juno.com>, <bhinkle@mathworks.com> Bent Rasmussen <exo@bent-rasmussen.info> berupon <yu@3dcg.ne.jp> +Brian Gardner <briangr@friberg.us> Brian Hjøllund Buchan <kbuchan@xtra.co.nz> Burton Radons <burton-radons@shaw.ca>