Mercurial > projects > dstress
changeset 726:192a180c4313
Thomas Kuehne <thomas-dloop@kuehne.cn>
2005-10-30
news:qwcd3a1sdc@birke.kuehne.cn
author | thomask |
---|---|
date | Sat, 29 Oct 2005 20:16:17 +0000 |
parents | 5a0ed66a88d4 |
children | 05000fe1f314 |
files | nocompile/n/new_26_A.d nocompile/n/new_26_B.d nocompile/n/new_26_C.d nocompile/v/variadic_argument_09_A.d nocompile/v/variadic_argument_09_B.d |
diffstat | 5 files changed, 81 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/n/new_26_A.d Sat Oct 29 20:16:17 2005 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> +// @date@ 2005-10-30 +// @uri@ news:qwcd3a1sdc@birke.kuehne.cn + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.n.new_26_A; + +void main(){ + auto x = new int[1, 2, 3]; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/n/new_26_B.d Sat Oct 29 20:16:17 2005 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> +// @date@ 2005-10-30 +// @uri@ news:qwcd3a1sdc@birke.kuehne.cn + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.n.new_26_B; + +void main(){ + auto x = new int[1.2, 2.2, 3]; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/n/new_26_C.d Sat Oct 29 20:16:17 2005 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> +// @date@ 2005-10-30 +// @uri@ news:qwcd3a1sdc@birke.kuehne.cn + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.n.new_26_C; + +void main(){ + auto x = new int[1.2, 2.2, 3.3]; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/v/variadic_argument_09_A.d Sat Oct 29 20:16:17 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> +// @date@ 2005-10-30 +// @uri@ news:qwcd3a1sdc@birke.kuehne.cn + +// __DSTRESS_ELINE__ 17 + +module dstress.nocompile.v.variadic_argument_09_A; + +void test(int dummy, int pos...){ +} + +void main(){ + test(new int[1, 2]); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/v/variadic_argument_09_B.d Sat Oct 29 20:16:17 2005 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> +// @date@ 2005-10-30 +// @uri@ news:qwcd3a1sdc@birke.kuehne.cn + +// __DSTRESS_ELINE__ 17 + +module dstress.nocompile.v.variadic_argument_09_B; + +void test(int pos...){ +} + +void main(){ + test(new int[1, 2]); +}