Mercurial > projects > dstress
changeset 469:be3575b6bf40
override alignof / offsetof
Jarrett Billingsley <kb3ctd2@yahoo.com>
2005-04-22
news:d4c3qc$eu8$1@digitaldaemon.com
author | thomask |
---|---|
date | Sat, 23 Apr 2005 06:12:08 +0000 |
parents | 9db08558fa6f |
children | eeb9e6a78c3d |
files | nocompile/offsetof_74.d nocompile/offsetof_75.d nocompile/offsetof_76.d nocompile/offsetof_77.d |
diffstat | 4 files changed, 64 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/offsetof_74.d Sat Apr 23 06:12:08 2005 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Jarrett Billingsley <kb3ctd2@yahoo.com> +// @date@ 2005-04-22 +// @uri@ news:d4c3qc$eu8$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.offsetof_74; + +class A{ + size_t alignof; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/offsetof_75.d Sat Apr 23 06:12:08 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Jarrett Billingsley <kb3ctd2@yahoo.com> +// @date@ 2005-04-22 +// @uri@ news:d4c3qc$eu8$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.offsetof_75; + +class A{ + static size_t alignof(){ + return 0; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/offsetof_76.d Sat Apr 23 06:12:08 2005 +0000 @@ -0,0 +1,17 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Jarrett Billingsley <kb3ctd2@yahoo.com> +// @date@ 2005-04-22 +// @uri@ news:d4c3qc$eu8$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.offsetof_76; + +struct A{ + static size_t alignof(){ + return 0; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/offsetof_77.d Sat Apr 23 06:12:08 2005 +0000 @@ -0,0 +1,15 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Jarrett Billingsley <kb3ctd2@yahoo.com> +// @date@ 2005-04-22 +// @uri@ news:d4c3qc$eu8$1@digitaldaemon.com + +// __DSTRESS_ELINE__ 14 + +module dstress.nocompile.offsetof_77; + +struct A{ + size_t alignof; +}