annotate tangotests/debug5.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.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 }