changeset 1058:ac5e9884d08b

updated struct_24 to DMD-0.161
author thomask
date Thu, 29 Jun 2006 13:26:28 +0000
parents d90888cdcaca
children 4468ecf152f1
files nocompile/s/struct_24_B.d run/s/struct_24_C.d
diffstat 2 files changed, 13 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/s/struct_24_B.d	Thu Jun 29 13:26:28 2006 +0000
@@ -0,0 +1,13 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Ant <duitoolkit@yahoo.ca>
+// @date@	2006-03-06
+// @uri@	news:duiilb$2heo$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 13
+
+module dstess.run.s.struct_24_B;
+
+struct S;
--- a/run/s/struct_24_C.d	Thu Jun 29 13:26:14 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-// $HeadURL$
-// $Date$
-// $Author$
-
-// @author@	Ant <duitoolkit@yahoo.ca>
-// @date@	2006-03-06
-// @uri@	news:duiilb$2heo$1@digitaldaemon.com
-
-module dstess.run.s.struct_24_C;
-
-struct S;
-
-int main(char[][] args){
-	S* s = new S;
-
-	// don't trip the "no effect" filter:
-	size_t* x = cast(size_t*)s;
-
-	return *x * (args.length - 1);
-}