annotate tests/mini/debug5.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents tangotests/debug5.d@d61ce72c39ab
children
rev   line source
lindquist@245 1 module tangotests.debug5;
lindquist@245 2
lindquist@245 3 void main()
lindquist@245 4 {
lindquist@245 5 int i = 32;
lindquist@245 6 real r = 3.1415;
lindquist@245 7 real* p = &r;
lindquist@245 8 func(i,r,p);
lindquist@245 9 }
lindquist@245 10
lindquist@245 11 void func(int i, real r, real* p)
lindquist@245 12 {
lindquist@245 13 int* fail;
lindquist@245 14 *fail = 666;
lindquist@245 15 }