Mercurial > projects > ldc
view tests/mini/compile_rawvardeclinfinally.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 | 5696a7167b21 |
children | 8baf611f0009 |
line wrap: on
line source
void foo() { void delegate()[] bar; try {} finally { foreach (dg; bar) dg(); } }