Mercurial > projects > ldc
view tangotests/e.d @ 242:ab43d1e1bf2a trunk
[svn r259] Enabled ASM for the GC, this closes #45 by saving the registers on the stack.
author | lindquist |
---|---|
date | Mon, 09 Jun 2008 02:05:02 +0200 |
parents | 68a7dd38c03c |
children |
line wrap: on
line source
extern(C) int printf(char*,...); class MyClass { this(int i = 4) { inner = this.new InnerClass; } class InnerClass : Object.Monitor { void lock() {} void unlock() {} } InnerClass inner; } void func() { scope c = new MyClass(42); } void main() { func(); }