Mercurial > projects > ldc
view tests/mini/bug66.d @ 351:f273f5c58a9a trunk
[svn r372] Fixed extern(C++) handling now same as DMD, which is to treat it like extern(C).
Fixed a problem in resolving struct types where the size of elements might not yet be known. Switched to using DMD size() instead
of LLVM ABI size (TargetData).
author | lindquist |
---|---|
date | Mon, 14 Jul 2008 03:23:43 +0200 |
parents | 1bb99290e03a |
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); }