Mercurial > projects > ldc
view tests/mini/phobos/bug66.d @ 857:217e8c719a2f
Apply wilsonk's patch to AddrExp::toConstElem for struct literals.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 17 Dec 2008 20:40:27 +0100 |
parents | fc098100ecc7 |
children |
line wrap: on
line source
module bug66; import std.stdio; class Scene { string name() { return "Scene"; } } class Group : Scene { this () { } } void main() { writefln((new Group).name); }