Mercurial > projects > dstress
changeset 692:11655b2d04c6
John C <johnch_atms@hotmail.com>
2005-09-29
news:dhf4c3$pua$1@digitaldaemon.com
author | thomask |
---|---|
date | Thu, 29 Sep 2005 06:02:12 +0000 |
parents | dc9256cf5c01 |
children | cfe101f6f1f3 |
files | run/b/bug_glue_355_A.d run/b/bug_glue_355_B.d run/b/bug_glue_355_C.d |
diffstat | 3 files changed, 97 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_glue_355_A.d Thu Sep 29 06:02:12 2005 +0000 @@ -0,0 +1,31 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ John C <johnch_atms@hotmail.com> +// @date@ 2005-09-29 +// @uri@ news:dhf4c3$pua$1@digitaldaemon.com + +module dstress.run.b.bug_glue_355_A; + +class Foo { + this(int[] params ...) { + } +} + +class Bar { + + private this() { + init(); + } + + private void init() { + Foo f = new Foo(1, 2, 3); + } + +} + +int main(){ + Bar b = new Bar(); + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_glue_355_B.d Thu Sep 29 06:02:12 2005 +0000 @@ -0,0 +1,33 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ John C <johnch_atms@hotmail.com> +// @date@ 2005-09-29 +// @uri@ news:dhf4c3$pua$1@digitaldaemon.com + +// __DSTRESS_DFLAGS__ -inline + +module dstress.run.b.bug_glue_355_B; + +class Foo { + this(int[] params ...) { + } +} + +class Bar { + + private this() { + init(); + } + + private void init() { + Foo f = new Foo(1, 2, 3); + } + +} + +int main(){ + Bar b = new Bar(); + return 0; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/b/bug_glue_355_C.d Thu Sep 29 06:02:12 2005 +0000 @@ -0,0 +1,33 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ John C <johnch_atms@hotmail.com> +// @date@ 2005-09-29 +// @uri@ news:dhf4c3$pua$1@digitaldaemon.com + +// __DSTRESS_DFLAGS__ -inline + +module dstress.run.b.bug_glue_355_C; + +class Foo { + this(int[] params ...) { + } +} + +class Bar { + + private this() { + init(); + } + + void init() { + Foo f = new Foo(1, 2, 3); + } + +} + +int main(){ + Bar b = new Bar(); + return 0; +} \ No newline at end of file