Mercurial > projects > ldc
comparison tests/mini/norun_debug10.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 | 24ea9bf5f8b7 |
children |
comparison
equal
deleted
inserted
replaced
1424:ad999630aa35 | 1425:925779c19395 |
---|---|
14 func(v2, v2, str, i, f); | 14 func(v2, v2, str, i, f); |
15 } | 15 } |
16 | 16 |
17 void func(Vec2 v2, ref Vec2 rv2, char[] str, out int i, ref float f) | 17 void func(Vec2 v2, ref Vec2 rv2, char[] str, out int i, ref float f) |
18 { | 18 { |
19 int* fail; | 19 int* fail = cast(int*) 1; |
20 *fail = 0; | 20 *fail = 0; |
21 } | 21 } |