changeset 473:8a58d34b8221

template / member function Sean Kelly <sean@f4.ca> 2005-04-15 news:d3pa4s$17qk$1@digitaldaemon.com
author thomask
date Sat, 23 Apr 2005 07:09:17 +0000
parents 31cca2b25cf6
children fe7d22541b43
files nocompile/override_10.d nocompile/template_15.d
diffstat 2 files changed, 43 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/override_10.d	Sat Apr 23 07:09:17 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Sean Kelly <sean@f4.ca>
+// @date@	2005-04-15
+// @uri@	news:d3pa4s$17qk$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 18
+
+module dstress.nocompile.override_10;
+
+class C{
+}
+
+class D : C{
+	template fn() {
+		override void fn(){
+		}
+	}    
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/template_15.d	Sat Apr 23 07:09:17 2005 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Sean Kelly <sean@f4.ca>
+// @date@	2005-04-15
+// @uri@	news:d3pa4s$17qk$1@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 20
+
+module dstress.nocompile.template_15;
+
+class C{
+	template fn(T) {
+		void fn(){
+		}
+	}    
+
+	void test(){
+		fn();
+	}
+}