Files
ldc/tests/mini/norun_debug3.d
Frits van Bommel b06fa1f05e 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.
2009-05-28 02:28:30 +02:00

11 lines
123 B
D

module mini.norun_debug3;
void main()
{
int i = 42;
int* ip = &i;
int* fail = cast(int*) 1;
*fail = 0;
}