Mercurial > projects > ldc
view tests/mini/emptytuple.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 | e739ef5dfff0 |
children |
line wrap: on
line source
template T(B...) { typedef B TArgs; } int main(){ alias T!() instantiate; return 0; }