view tests/mini/norun_debug2.d @ 1630:44b145be2ef5

Merge dmd 1.056.
author Robert Clipsham <robert@octarineparrot.com>
date Sat, 06 Feb 2010 15:53:52 +0000
parents 925779c19395
children
line wrap: on
line source

module mini.norun_debug2;

import tango.stdc.stdlib : rand;

void main()
{
    size_t iter;
    while (iter < 25)
    {
        if (rand() % 20 == 10)
            *cast(int*)1 = 0;
        ++iter;
    }
    assert(0);
}