Mercurial > projects > ldc
view tests/mini/nested14.d @ 1153:4454126b4345
Added support for single D type register return from __asm.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Sat, 28 Mar 2009 07:24:53 +0100 |
parents | 30ef3c7bddca |
children |
line wrap: on
line source
module mini.nested14; extern(C) int printf(char*, ...); class C { void foo() { void bar() { car(); } bar(); } void car() { printf("great\n"); } } void main() { scope c = new C; c.foo(); }