changeset 161:5df094931c80

extended typeid tests
author thomask
date Wed, 01 Dec 2004 07:34:52 +0000
parents 89eb836b12ac
children df550d679fcc
files run/typeid_83.d
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/typeid_83.d	Wed Dec 01 07:34:52 2004 +0000
@@ -0,0 +1,19 @@
+// @uri@	news:opsh702et0jccy7t@simon.homenet
+// @author@	Simon Buchan <currently@no.where>
+// @date@	2004-11-29
+// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2369
+
+module dstress.run.typeid_83;
+
+TypeInfo ti_a1 = typeid(int),
+          ti_a2 = typeid(int),
+          ti_a3 = typeid(uint);
+
+int main() {
+	assert(!(ti_a1 is null));
+	assert(!(ti_a2 is null));
+	assert(!(ti_a3 is null));
+	return 0;
+}
+
+