/* Nested struct templates */ use "basic_models.g"; struct bar where { DefaultConstructible, Regular } { T x; }; struct foo where { DefaultConstructible, Regular } { bar b; }; fun main() -> int@ { let f = @foo { b = @bar { x = 1 } }; return 1 - f.b.x; }