//@ run-pass struct Foo(T); impl Foo { fn new() -> Self { Foo([0; N]) } } fn main() { assert_eq!(Foo::new().0, [0; 10]); }