Mercurial > projects > ldc
view tangotests/e.d @ 209:c4c9b4ac021b trunk
[svn r225] Fixed: delete expressions no longer use llvm's free instruction, which crashes on a GC provided pointer.
author | lindquist |
---|---|
date | Wed, 14 May 2008 01:22:40 +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(); }