Mercurial > projects > ldc
view test/bug44.d @ 277:90a8c798b0db trunk
[svn r298] Eliminated the dmd/link.c source file entirely in favor of a llvm::sys based approach to the same functionality.
author | lindquist |
---|---|
date | Fri, 20 Jun 2008 22:09:04 +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(); }