0 size struct causes panic
struct X {}
impl X {
fn a(self) -> bool {
true
}
}
pipeline(1) test(clk: clock, x: X) -> bool {
reg;
x.a()
}