Mercurial > projects > dstress
changeset 1054:8f18e188ad90
<clugdbug@yahoo.com.au>
2006-06-23
news:bug-220-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Thu, 29 Jun 2006 13:25:40 +0000 |
parents | 136829b474f9 |
children | 6735097a9cc6 |
files | compile/m/mangleof_16_A.d compile/m/mangleof_16_B.d compile/m/mangleof_16_C.d compile/m/mangleof_16_D.d compile/m/mangleof_16_E.d compile/m/mangleof_16_F.d compile/m/mangleof_16_G.d compile/m/mangleof_16_H.d |
diffstat | 8 files changed, 148 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/m/mangleof_16_A.d Thu Jun 29 13:25:40 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <clugdbug@yahoo.com.au> +// @date@ 2006-06-23 +// @uri@ news:bug-220-3@http.d.puremagic.com/issues/ + +module dstress.compile.m.mangleof_16_A; + +typedef int function (int) x; + +template T(char[] str){ + const int T = 1; +} + +static assert(T!(x.mangleof)); + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/m/mangleof_16_B.d Thu Jun 29 13:25:40 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <clugdbug@yahoo.com.au> +// @date@ 2006-06-23 +// @uri@ news:bug-220-3@http.d.puremagic.com/issues/ + +module dstress.compile.m.mangleof_16_B; + +alias int function (int) x; + +template T(char[] str){ + const int T = 1; +} + +static assert(T!(x.mangleof)); + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/m/mangleof_16_C.d Thu Jun 29 13:25:40 2006 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <clugdbug@yahoo.com.au> +// @date@ 2006-06-23 +// @uri@ news:bug-220-3@http.d.puremagic.com/issues/ + +module dstress.compile.m.mangleof_16_C; + +alias int delegate (int) x; + +template T(char[] str){ + const int T = 1; +} + +static assert(T!(x.mangleof)); +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/m/mangleof_16_D.d Thu Jun 29 13:25:40 2006 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <clugdbug@yahoo.com.au> +// @date@ 2006-06-23 +// @uri@ news:bug-220-3@http.d.puremagic.com/issues/ + +module dstress.compile.m.mangleof_16_D; + +typedef int delegate (int) x; + +template T(char[] str){ + const int T = 1; +} + +static assert(T!(x.mangleof)); +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/m/mangleof_16_E.d Thu Jun 29 13:25:40 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <clugdbug@yahoo.com.au> +// @date@ 2006-06-23 +// @uri@ news:bug-220-3@http.d.puremagic.com/issues/ + +module dstress.compile.m.mangleof_16_E; + +typedef int function (int) x; + +template T(char[] str){ + const int T = 1; +} + +static assert(T!((x).mangleof)); + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/m/mangleof_16_F.d Thu Jun 29 13:25:40 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <clugdbug@yahoo.com.au> +// @date@ 2006-06-23 +// @uri@ news:bug-220-3@http.d.puremagic.com/issues/ + +module dstress.compile.m.mangleof_16_F; + +alias int function (int) x; + +template T(char[] str){ + const int T = 1; +} + +static assert(T!((x).mangleof)); + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/m/mangleof_16_G.d Thu Jun 29 13:25:40 2006 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <clugdbug@yahoo.com.au> +// @date@ 2006-06-23 +// @uri@ news:bug-220-3@http.d.puremagic.com/issues/ + +module dstress.compile.m.mangleof_16_G; + +alias int delegate (int) x; + +template T(char[] str){ + const int T = 1; +} + +static assert(T!((x).mangleof)); +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/m/mangleof_16_H.d Thu Jun 29 13:25:40 2006 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ <clugdbug@yahoo.com.au> +// @date@ 2006-06-23 +// @uri@ news:bug-220-3@http.d.puremagic.com/issues/ + +module dstress.compile.m.mangleof_16_H; + +typedef int delegate (int) x; + +template T(char[] str){ + const int T = 1; +} + +static assert(T!((x).mangleof)); +