Mercurial > projects > ldc
annotate test/imports2.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 | c05ef76f1c20 |
children |
rev | line source |
---|---|
17
6c6cd097bcdf
[svn r21] * Fixed local instances of imported templates
lindquist
parents:
16
diff
changeset
|
1 module imports2; |
16
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
2 import std.stdio; |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
3 |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
4 void main() { |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
5 writefln("Hello world!"[]); |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
6 } |