Mercurial > projects > ldc
view tangotests/debug8.d @ 322:1aaf6ff7f685 trunk
[svn r343] Move object.di used for running dstress into separate directory.
author | ChristianK |
---|---|
date | Wed, 09 Jul 2008 17:02:55 +0200 |
parents | c6f25edd6ef3 |
children |
line wrap: on
line source
module tangotests.debug8; struct Str { size_t len; void* ptr; } struct Foo { long l; Bar bar; } struct Bar { float x,y,z; Foo* foo; } void main() { Str str; Foo foo; foo.l = 42; foo.bar.y = 3.1415; foo.bar.foo = &foo; int* fail; *fail = 0; }