immunant / c2rust

Migrate C code to Rust
https://c2rust.com/
Other
3.81k stars 220 forks source link

rewrite: add #[derive(Clone)] test case #958

Closed aneksteind closed 1 year ago

aneksteind commented 1 year ago

It turns out #952 was addressed indirectly via #956. This adds a test case to demonstrate the functionality is now working as expected.

aneksteind commented 1 year ago

It fixed the issue because the prior code would: