Mercurial > projects > ldc
view tests/mini/bug75.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 | 1bb99290e03a |
children |
line wrap: on
line source
module bug75; void func(void delegate() dg) { } void main() { void nested() { } //func(&nested); void delegate() dg = &nested; }