Mercurial > projects > ldc
view tangotests/r.d @ 201:8f9191180c7a trunk
[svn r217] Updated: the rebuild profiles.
Fixed: way to find class data fields was too strict type wise.
Fixed: foreach resulting in an implicit delegate could fail.
author | lindquist |
---|---|
date | Mon, 12 May 2008 22:44:25 +0200 |
parents | 0dec7b3727ea |
children |
line wrap: on
line source
extern(C) int printf(char*, ...); class C { void dump() { printf("C dumped\n"); } } void heap() { auto c = new C; c.dump(); } void stack() { scope c = new C; c.dump(); } void main() { heap(); stack(); }