annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
85
f869c636a113 [svn r89] Fixed a bunch of problems with template instance across multiple modules.
lindquist
parents:
diff changeset
1 module templ2;
f869c636a113 [svn r89] Fixed a bunch of problems with template instance across multiple modules.
lindquist
parents:
diff changeset
2 import templ1;
f869c636a113 [svn r89] Fixed a bunch of problems with template instance across multiple modules.
lindquist
parents:
diff changeset
3
f869c636a113 [svn r89] Fixed a bunch of problems with template instance across multiple modules.
lindquist
parents:
diff changeset
4 void main()
f869c636a113 [svn r89] Fixed a bunch of problems with template instance across multiple modules.
lindquist
parents:
diff changeset
5 {
f869c636a113 [svn r89] Fixed a bunch of problems with template instance across multiple modules.
lindquist
parents:
diff changeset
6 func1(1);
f869c636a113 [svn r89] Fixed a bunch of problems with template instance across multiple modules.
lindquist
parents:
diff changeset
7 }