Mercurial > projects > ldc
view tests/mini/gc_datasegment.d @ 612:d97b017a8aef
Fix issue with EH table indices and nested try-catch.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 21 Sep 2008 17:18:35 +0200 |
parents | d159da5201f1 |
children |
line wrap: on
line source
extern(C) void gc_collect(); class C { int i = 42; } C data; void main() { data = new C; gc_collect(); assert(data.i == 42); }