changeset 833:1e57d9ee2259

Ant <duitoolkit@yahoo.ca> 2006-02-14 news:dsrs4r$ra9$1@digitaldaemon.com
author thomask
date Wed, 15 Feb 2006 22:20:01 +0000
parents 602e7b841889
children 4a37bb21b9a1
files nocompile/e/enum_44_E.d nocompile/e/enum_44_F.d run/e/enum_44_A.d run/e/enum_44_B.d run/e/enum_44_C.d run/e/enum_44_D.d
diffstat 6 files changed, 132 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/e/enum_44_E.d	Wed Feb 15 22:20:01 2006 +0000
@@ -0,0 +1,18 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Ant <duitoolkit@yahoo.ca>
+// @date@	2006-02-14
+// @uri@	news:dsrs4r$ra9$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 13
+
+module dstess.nocompile.e.enum_44_E;
+
+alias .hello hello;
+
+enum{
+	hello = 3
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/e/enum_44_F.d	Wed Feb 15 22:20:01 2006 +0000
@@ -0,0 +1,17 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Ant <duitoolkit@yahoo.ca>
+// @date@	2006-02-14
+// @uri@	news:dsrs4r$ra9$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 17
+
+module dstess.nocompile.e.enum_44_F;
+
+enum{
+	hello = 3
+}
+
+alias .hello hello;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/e/enum_44_A.d	Wed Feb 15 22:20:01 2006 +0000
@@ -0,0 +1,26 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Ant <duitoolkit@yahoo.ca>
+// @date@	2006-02-14
+// @uri@	news:dsrs4r$ra9$1@digitaldaemon.com
+
+module dstess.run.e.enum_44_A;
+
+alias E.hello hello;
+
+enum E{
+	hello = 3
+}
+
+int main(){
+	static assert(hello == 3);
+	static assert(E.hello == 3);
+	
+	E e;
+
+	if(e == 3){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/e/enum_44_B.d	Wed Feb 15 22:20:01 2006 +0000
@@ -0,0 +1,26 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Ant <duitoolkit@yahoo.ca>
+// @date@	2006-02-14
+// @uri@	news:dsrs4r$ra9$1@digitaldaemon.com
+
+module dstess.run.e.enum_44_B;
+
+enum E{
+	hello = 3
+}
+
+alias E.hello hello;
+
+int main(){
+	static assert(hello == 3);
+	static assert(E.hello == 3);
+	
+	E e;
+
+	if(e == 3){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/e/enum_44_C.d	Wed Feb 15 22:20:01 2006 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Ant <duitoolkit@yahoo.ca>
+// @date@	2006-02-14
+// @uri@	news:dsrs4r$ra9$1@digitaldaemon.com
+
+module dstess.run.e.enum_44_C;
+
+enum{
+	hello = 3
+}
+
+int main(){
+	alias .hello hello;
+
+	static assert(hello == 3);
+	static assert(.hello == 3);
+	
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/e/enum_44_D.d	Wed Feb 15 22:20:01 2006 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Ant <duitoolkit@yahoo.ca>
+// @date@	2006-02-14
+// @uri@	news:dsrs4r$ra9$1@digitaldaemon.com
+
+module dstess.run.e.enum_44_D;
+
+int main(){
+	alias .hello hello;
+
+	static assert(hello == 3);
+	static assert(.hello == 3);
+	
+	return 0;
+}
+
+enum{
+	hello = 3
+}
+