Mercurial > projects > ldc
annotate tests/mini/phobos/imports2.d @ 650:aa6a0b7968f7
Added test case for bug #100
Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 05 Oct 2008 17:28:15 +0200 |
parents | fc098100ecc7 |
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 } |