mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-16 02:17:07 +02:00
testing the new mini test runner features.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
module mini.norun_debug2;
|
||||
|
||||
import tango.stdc.stdlib : rand;
|
||||
|
||||
void main()
|
||||
{
|
||||
size_t iter;
|
||||
while (iter < 25)
|
||||
{
|
||||
if (rand() % 20 == 10)
|
||||
*cast(int*)null = 0;
|
||||
++iter;
|
||||
}
|
||||
assert(0);
|
||||
}
|
||||
Reference in New Issue
Block a user