Mercurial > projects > ldc
comparison tangotests/debug1.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.debug1; | |
2 | |
3 void main() | |
4 { | |
5 int* ptr; | |
6 | |
7 // all these should be inspectable | |
8 int i = 1; | |
9 int j = 2; | |
10 long k = 3; | |
11 float l = 4.521; | |
12 ubyte m = 5; | |
13 | |
14 *ptr = 0;//cast(int)(i+j+k+l+m); | |
15 } | |
16 | |
17 extern(C) int printf(char*, ...); |