Mercurial > projects > dstress
changeset 1310:bcdd3165128d
[Issue 778] -inline: Assertion failure: '!v->csym' on line 450 in file 'glue.c'
Matti Niemenmaa <deewiant@gmail.com>
2006-12-30
http://d.puremagic.com/issues/show_bug.cgi?id=778
author | thomask |
---|---|
date | Sun, 31 Dec 2006 11:02:52 +0000 |
parents | 72ecc3d71ef9 |
children | 721a83317b14 |
files | run/a/assert_18_E.d run/a/assert_18_F.d |
diffstat | 2 files changed, 39 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/a/assert_18_E.d Sun Dec 31 11:02:52 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Matti Niemenmaa <deewiant@gmail.com> +// @date@ 2006-12-30 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=778 +// @desc@ [Issue 778] -inline: Assertion failure: '!v->csym' on line 450 in file 'glue.c' + +module dstress.run.a.assert_18_E; + +void foo(char[] bar){ + assert(true, bar ~ "some"); +} + +int main(char[][] args){ + foo(args[0]); + return 0; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/a/assert_18_F.d Sun Dec 31 11:02:52 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Matti Niemenmaa <deewiant@gmail.com> +// @date@ 2006-12-30 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=778 +// @desc@ [Issue 778] -inline: Assertion failure: '!v->csym' on line 450 in file 'glue.c' + +module dstress.run.a.assert_18_F; + +void foo(char[] bar){ + assert(true, bar ~ "some"); +} + +void main(char[][] args){ + foo("other"); +} +