Mercurial > projects > ldc
annotate tests/mini/compile_nested1.d @ 1163:ea52660f828b
Emit function bodies before generating the module info to make sure static
ctors are collected correctly. Fixes run/constructor_03.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 28 Mar 2009 20:45:33 +0100 |
parents | 5bd9a617d297 |
children |
rev | line source |
---|---|
465
5bd9a617d297
Added a mini test case for nested stuff
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
1 void append(lazy char[] exp) { char[] s = exp; } |