Mercurial > projects > ldc
view test/bug44.d @ 219:761c8352f494 trunk
[svn r235] rough port of GDC's inline assembler code, unfinished
author | ChristianK |
---|---|
date | Thu, 05 Jun 2008 19:22:37 +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(); }