Mercurial > projects > ldc
view tests/mini/phobos/bug66.d @ 523:c9a606d6e641
Abstract functions may have bodies.
Fixes:
run/a/abstract_17_A,B
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 17 Aug 2008 11:39:36 +0200 |
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); }