Mercurial > projects > ldc
annotate test/imports2.d @ 31:2841234d2aea trunk
[svn r35] * Attributes on struct fields/methods now work
* Updated object.d to 1.021
* Added -novalidate command line option. this is sometimes useful when debugging as it may let you read the .ll even if it's invalid.
author | lindquist |
---|---|
date | Thu, 04 Oct 2007 16:44:07 +0200 |
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 } |