changeset 214:ff42f2c64363

extended static class/union member tests
author thomask
date Sun, 26 Dec 2004 22:19:33 +0000
parents d7f9263ec932
children b79bc0c00bfc
files run/static_24.d run/static_25.d run/static_26.d run/static_27.d run/static_28.d
diffstat 5 files changed, 124 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/static_24.d	Sun Dec 26 22:19:33 2004 +0000
@@ -0,0 +1,26 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	h3r3tic <foo@bar.baz>
+// @date@	2004-12-26
+// @uri@	news:cqmmre$1vvo$1@digitaldaemon.com
+// @url@	nntp://digitalmars.com/digitalmars.D.bugs/2605
+
+module dstress.run.static_24;
+
+void foo(){
+	class MyClass{
+		int x;
+	}
+}
+
+void foo(int i){
+	class MyClass{
+		int x;
+	}
+}
+
+int main(){
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/static_25.d	Sun Dec 26 22:19:33 2004 +0000
@@ -0,0 +1,26 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	h3r3tic <foo@bar.baz>
+// @date@	2004-12-26
+// @uri@	news:cqmmre$1vvo$1@digitaldaemon.com
+// @url@	nntp://digitalmars.com/digitalmars.D.bugs/2605
+
+module dstress.run.static_25;
+
+void foo(){
+	class MyClass{
+		static int x;
+	}
+}
+
+void foo(int i){
+	class MyClass{
+		static int x;
+	}
+}
+
+int main(){
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/static_26.d	Sun Dec 26 22:19:33 2004 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	h3r3tic <foo@bar.baz>
+// @date@	2004-12-26
+// @uri@	news:cqmmre$1vvo$1@digitaldaemon.com
+// @url@	nntp://digitalmars.com/digitalmars.D.bugs/2605
+
+module dstress.run.static_26;
+
+class MyClass{
+	static int x;
+}
+
+void foo(int i){
+	class MyClass{
+		static int x;
+	}
+}
+
+int main(){
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/static_27.d	Sun Dec 26 22:19:33 2004 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	h3r3tic <foo@bar.baz>
+// @date@	2004-12-26
+// @uri@	news:cqmmre$1vvo$1@digitaldaemon.com
+// @url@	nntp://digitalmars.com/digitalmars.D.bugs/2605
+
+module dstress.run.static_27;
+
+class MyClass{
+	int x;
+}
+
+void foo(int i){
+	class MyClass{
+		static int x;
+	}
+}
+
+int main(){
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/static_28.d	Sun Dec 26 22:19:33 2004 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	h3r3tic <foo@bar.baz>
+// @date@	2004-12-26
+// @uri@	news:cqmmre$1vvo$1@digitaldaemon.com
+// @url@	nntp://digitalmars.com/digitalmars.D.bugs/2605
+
+module dstress.run.static_28;
+
+union MyUnion{
+	static int x;
+}
+
+void foo(int i){
+	union MyUnione{
+		static int x;
+	}
+}
+
+int main(){
+	return 0;
+}