Mercurial > projects > ldc
view tests/mini/tryfinally1.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 | aa6a0b7968f7 |
children |
line wrap: on
line source
void main() { try { } finally { debug {} // the debug statement body can be anything } }