comparison tests/mini/debug11.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/debug11.d@23d0d9855cad
children
comparison
equal deleted inserted replaced
340:351c0077d0b3 341:1bb99290e03a
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 }