Mercurial > projects > ldc
view test/bug44.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 | 875617f89c51 |
children |
line wrap: on
line source
module bug44; pragma(LLVM_internal, "notypeinfo") struct rgb { long l; } void foo() { } rgb test() { scope(exit) foo(); return rgb(); } void main() { rgb r = test(); }