Mercurial > projects > ldc
view tests/mini/norun_debug11.d @ 1425:925779c19395
I ran into another issue like the one fixed by r1318, so update all of
`tests/mini/norun_debug*` to hopefully keep crashing using the same trick.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 28 May 2009 02:28:30 +0200 |
parents | bac742d3a72d |
children |
line wrap: on
line source
module mini.norun_debug11; class C { } class D : C { int i = 42; } class E : D { float fp = 3.14f; } class F : E { F f; } void main() { auto c = new C; auto d = new D; auto e = new E; auto f = new F; auto ci = c.classinfo; int* fail = cast(int*) 1; *fail = 0; }