comparison tests/mini/norun_debug9.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
4 { 4 {
5 int a,b,c; 5 int a,b,c;
6 6
7 void func() 7 void func()
8 { 8 {
9 int* fail; 9 int* fail = cast(int*) 1;
10 *fail = 0; 10 *fail = 0;
11 } 11 }
12 } 12 }
13 13
14 void main() 14 void main()