changeset 470:eeb9e6a78c3d

override alignof Jarrett Billingsley <kb3ctd2@yahoo.com> 2005-04-22 news:d4c3qc$eu8$1@digitaldaemon.com
author thomask
date Sat, 23 Apr 2005 06:12:33 +0000
parents be3575b6bf40
children 39eb3d2a70ed
files nocompile/alignof_01.d nocompile/alignof_02.d nocompile/alignof_03.d nocompile/alignof_04.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/alignof_01.d	Sat Apr 23 06:12:33 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.alignof_01;
+
+class A{
+	static size_t alignof(){
+		return 30u;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/alignof_02.d	Sat Apr 23 06:12:33 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.alignof_02;
+
+class A{
+	size_t alignof;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/alignof_03.d	Sat Apr 23 06:12:33 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.alignof_03;
+
+struct A{
+	size_t alignof;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/alignof_04.d	Sat Apr 23 06:12:33 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.alignof_04;
+
+struct A{
+	static size_t alignof(){
+		return 0;
+	}
+}