comparison tangotests/debug2.d @ 245:d61ce72c39ab trunk

[svn r262] Fixed debug info for normal function parameters. Fixed debug info for pointers to basic types.
author lindquist
date Mon, 09 Jun 2008 12:43:16 +0200
parents
children
comparison
equal deleted inserted replaced
244:a95056b3c996 245:d61ce72c39ab
1 module tangotests.debug2;
2
3 import tango.stdc.stdlib : rand;
4
5 void main()
6 {
7 size_t iter;
8 while (iter < 25)
9 {
10 if (rand() % 20 == 10)
11 *cast(int*)null = 0;
12 ++iter;
13 }
14 assert(0);
15 }