annotate 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
rev   line source
lindquist@245 1 module tangotests.debug2;
lindquist@245 2
lindquist@245 3 import tango.stdc.stdlib : rand;
lindquist@245 4
lindquist@245 5 void main()
lindquist@245 6 {
lindquist@245 7 size_t iter;
lindquist@245 8 while (iter < 25)
lindquist@245 9 {
lindquist@245 10 if (rand() % 20 == 10)
lindquist@245 11 *cast(int*)null = 0;
lindquist@245 12 ++iter;
lindquist@245 13 }
lindquist@245 14 assert(0);
lindquist@245 15 }