diff run/a/alias_31_C.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_C.d	Fri Apr 27 17:36:34 2007 +0000
+++ b/run/a/alias_31_C.d	Mon May 07 05:19:35 2007 +0000
@@ -12,8 +12,8 @@
 	class ClassOf{
 		Type val;
 
-		template ref(){
-			alias val ref;
+		template ref_tmpl(){
+			alias val ref_tmpl;
 		}
 	}
 }
@@ -22,9 +22,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;
 	}
 }