diff test/templ2.d @ 85:f869c636a113 trunk

[svn r89] Fixed a bunch of problems with template instance across multiple modules. Fixed initialization of function local static variables, with a non const initializer (now happens on first call using a global to make sure it only happens once.)
author lindquist
date Fri, 02 Nov 2007 06:32:32 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/templ2.d	Fri Nov 02 06:32:32 2007 +0100
@@ -0,0 +1,7 @@
+module templ2;
+import templ1;
+
+void main()
+{
+    func1(1);
+}