Mercurial > projects > ldc
comparison tangotests/debug10.d @ 254:8187884566fa trunk
[svn r271] Fixed debug info for implicit 'this' param.
Fixed debug info for arguments passed byval (ref and out params still missing).
author | lindquist |
---|---|
date | Thu, 12 Jun 2008 18:04:28 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
253:c6f25edd6ef3 | 254:8187884566fa |
---|---|
1 module tangotests.debug10; | |
2 | |
3 struct Vec2 | |
4 { | |
5 float x,y; | |
6 } | |
7 | |
8 void main() | |
9 { | |
10 Vec2 v2; | |
11 char[] str = "hello"; | |
12 int i = void; | |
13 float f = 3.14; | |
14 func(v2, v2, str, i, f); | |
15 } | |
16 | |
17 void func(Vec2 v2, ref Vec2 rv2, char[] str, out int i, ref float f) | |
18 { | |
19 int* fail; | |
20 *fail = 0; | |
21 } |