Mercurial > projects > ldc
comparison tangotests/debug11.d @ 268:23d0d9855cad trunk
[svn r289] Fixed: right shift >> was broken for unsigned types.
Fixed: debug info for classes now started.
author | lindquist |
---|---|
date | Sun, 15 Jun 2008 18:52:27 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
267:c43911baea21 | 268:23d0d9855cad |
---|---|
1 module tangotests.debug11; | |
2 | |
3 class C | |
4 { | |
5 } | |
6 | |
7 class D : C | |
8 { | |
9 int i = 42; | |
10 } | |
11 | |
12 class E : D | |
13 { | |
14 float fp = 3.14f; | |
15 } | |
16 | |
17 class F : E | |
18 { | |
19 F f; | |
20 } | |
21 | |
22 void main() | |
23 { | |
24 auto c = new C; | |
25 auto d = new D; | |
26 auto e = new E; | |
27 auto f = new F; | |
28 | |
29 auto ci = c.classinfo; | |
30 | |
31 int* fail; | |
32 *fail = 0; | |
33 } |