diff --git a/hs-bindgen/examples/nested_types.h b/hs-bindgen/examples/nested_types.h index a88652d9..ef501dad 100644 --- a/hs-bindgen/examples/nested_types.h +++ b/hs-bindgen/examples/nested_types.h @@ -7,3 +7,20 @@ struct bar { struct foo foo1; struct foo foo2; }; + +struct ex3 { + struct { + int ex3_a; + char ex3_b; + }; + float ex3_c; +}; + +struct ex4 { + struct ex4_b { + int ex3_a; + char ex3_b; + struct ex4_b *recur; + }; + float ex3_c; +};