Mercurial > projects > ldc
view tangotests/debug11.d @ 283:9bb48fb57a7d trunk
[svn r304] Fix associative array literals by always reserving a zero inited temporary for them.
author | ChristianK |
---|---|
date | Sat, 21 Jun 2008 00:54:55 +0200 |
parents | 23d0d9855cad |
children |
line wrap: on
line source
module tangotests.debug11; class C { } class D : C { int i = 42; } class E : D { float fp = 3.14f; } class F : E { F f; } void main() { auto c = new C; auto d = new D; auto e = new E; auto f = new F; auto ci = c.classinfo; int* fail; *fail = 0; }