diff run/a/alias_31_A.d @ 1534:345207906be7

updated to DMD-1.013
author thomask
date Mon, 07 May 2007 05:19:35 +0000
parents b8c0195059d9
children
line wrap: on
line diff
--- a/run/a/alias_31_A.d	Fri Apr 27 17:36:34 2007 +0000
+++ b/run/a/alias_31_A.d	Mon May 07 05:19:35 2007 +0000
@@ -11,8 +11,8 @@
 class ClassOf(Type){
 	Type val;
 
-	template ref(){
-		alias val ref;
+	template ref_tmpl(){
+		alias val ref_tmpl;
 	}
 }
 
@@ -20,9 +20,9 @@
 	auto c = new ClassOf!(int)();
 	int x = 3;
 
-	c.ref!() = x;
+	c.ref_tmpl!() = x;
 
-	if(c.ref!() == 3){
+	if(c.ref_tmpl!() == 3){
 		return 0;
 	}
 }