Mercurial > projects > ldc
annotate tests/mini/compile_rawvardeclinfinally.d @ 913:29c0d1194033
Fix #198 and #199 by making CTFE on static struct initializers work.
Renamed SymbolDeclaration to StaticStructInitDeclaration to make its usage clearer.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 01 Feb 2009 20:20:56 +0100 |
parents | 5696a7167b21 |
children | 8baf611f0009 |
rev | line source |
---|---|
773
5696a7167b21
Fix RawVarDecl double codegen bug. Thanks to downs for the testcase.
Christian Kamm <kamm incasoftware de>
parents:
diff
changeset
|
1 void foo() { void delegate()[] bar; try {} finally { foreach (dg; bar) dg(); } } |