changeset 1304:a720cd88e876

[Issue 43] enable-checking error found in std/socket.d Brad Roberts <braddr@puremagic.com> 2006-03-12 http://d.puremagic.com/issues/show_bug.cgi?id=43
author thomask
date Sun, 31 Dec 2006 02:00:32 +0000
parents b5c364b14660
children 3db9417bb11c
files compile/o/opCast_05_A.d
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/o/opCast_05_A.d	Sun Dec 31 02:00:32 2006 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Brad Roberts <braddr@puremagic.com>
+// @date@	2006-03-12
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=43
+// @desc@	[Issue 43] enable-checking error found in std/socket.d
+
+module dstress.compile.c.opCast_05_A;
+
+struct Struct {
+	int i;
+}
+
+enum Enum{
+	A
+}
+
+void populate(Struct* s){
+	Enum type = cast(Enum)proto.i;
+}