Mercurial > projects > ldc
view tangotests/debug8.d @ 332:d7e6ace5cca4 trunk
[svn r353] Fix typo. (fixes empty catch handlers, like catch_02.d)
author | ChristianK |
---|---|
date | Fri, 11 Jul 2008 22:33:21 +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; }