changeset 536:37f34f030c21

typeid / opEquals Burton Radons <burton-radons@smocky.com> 2005-05-08 news:d5lotd$29j1$1@digitaldaemon.com
author thomask
date Sat, 14 May 2005 06:00:58 +0000
parents 0db095345640
children 3adc074d1969
files run/t/typeid_86_A.d run/t/typeid_86_B.d run/t/typeid_86_C.d
diffstat 3 files changed, 63 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/t/typeid_86_A.d	Sat May 14 06:00:58 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Auhtor$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-08
+// @uri@	news:d5lotd$29j1$1@digitaldaemon.com
+
+module dstress.run.t.typeid_86_A;
+
+int main(){
+	struct A{
+	}
+
+	struct B{
+	}
+
+	assert(typeid(A) != typeid(B));
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/t/typeid_86_B.d	Sat May 14 06:00:58 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Auhtor$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-08
+// @uri@	news:d5lotd$29j1$1@digitaldaemon.com
+
+module dstress.run.t.typeid_86_B;
+
+int main(){
+	class A{
+	}
+
+	class B{
+	}
+
+	assert(typeid(A) != typeid(B));
+
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/t/typeid_86_C.d	Sat May 14 06:00:58 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Auhtor$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-08
+// @uri@	news:d5lotd$29j1$1@digitaldaemon.com
+
+module dstress.run.t.typeid_86_C;
+
+int main(){
+	union A{
+	}
+
+	union B{
+	}
+
+	assert(typeid(A) != typeid(B));
+
+	return 0;
+}