Mercurial > projects > dstress
changeset 642:b6f10a770c3b
Hiroshi Sakurai <Hiroshi_member@pathlink.com>
2005-08-27
news:dep4oc$8sq$1@digitaldaemon.com
http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F20
author | thomask |
---|---|
date | Sat, 27 Aug 2005 18:48:06 +0000 |
parents | 2412577f12b0 |
children | 0a6a73416aa3 |
files | nocompile/c/continue_01.d nocompile/c/continue_02.d nocompile/c/continue_03_A.d nocompile/c/continue_03_B.d |
diffstat | 4 files changed, 89 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/c/continue_01.d Sat Aug 27 18:48:06 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Hiroshi Sakurai <Hiroshi_member@pathlink.com> +// @date@ 2005-08-27 +// @uri@ news:dep4oc$8sq$1@digitaldaemon.com +// @uri@ http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F20 + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.c.continue_01; + +void main(){ + foreach(char a; "123"){ + continue; + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/c/continue_02.d Sat Aug 27 18:48:06 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Hiroshi Sakurai <Hiroshi_member@pathlink.com> +// @date@ 2005-08-27 +// @uri@ news:dep4oc$8sq$1@digitaldaemon.com +// @uri@ http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F20 + +// __DSTRESS_ELINE__ 16 + +module dstress.nocompile.c.continue_02; + +void main(){ + label: foreach(char a; "123"){ + continue label; + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/c/continue_03_A.d Sat Aug 27 18:48:06 2005 +0000 @@ -0,0 +1,27 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Hiroshi Sakurai <Hiroshi_member@pathlink.com> +// @date@ 2005-08-27 +// @uri@ news:dep4oc$8sq$1@digitaldaemon.com +// @uri@ http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F20 +// @desc@ Internal error: s2ir.c 481 + +// __DSTRESS_ELINE__ 24 + +module dstress.nocompile.c.continue_03_A; + +class Stream{ + int opApply(int delegate(inout char[] line) dg){ + } +} + +void parse(Stream stream){ +READ_LINE: + foreach (char [] line; stream) { + if (line.length == 0) { + continue READ_LINE; + } + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/c/continue_03_B.d Sat Aug 27 18:48:06 2005 +0000 @@ -0,0 +1,26 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Hiroshi Sakurai <Hiroshi_member@pathlink.com> +// @date@ 2005-08-27 +// @uri@ news:dep4oc$8sq$1@digitaldaemon.com +// @uri@ http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F20 +// @desc@ Internal error: s2ir.c 481 + +// __DSTRESS_ELINE__ 23 + +module dstress.nocompile.c.continue_03_B; + +class Stream{ + int opApply(int delegate(inout char[] line) dg){ + } +} + +void parse(Stream stream){ + foreach (char [] line; stream) { + if (line.length == 0) { + continue; + } + } +} \ No newline at end of file