diff compile/s/stringof_02_G.d @ 1509:fba3b66d0276

added basic stringof testd
author thomask
date Mon, 23 Apr 2007 18:07:38 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/s/stringof_02_G.d	Mon Apr 23 18:07:38 2007 +0000
@@ -0,0 +1,11 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.compile.s.stringof_02_G;
+
+int bar(){
+	return 1;
+}
+
+static assert("bar()" == (bar()).stringof);