rust/tests/ui/issues/issue-33202.rs
2024-02-16 20:02:50 +00:00

9 lines
155 B
Rust

//@ run-pass
#[repr(C)]
pub enum CPOption<T> {
PSome(T),
}
fn main() {
println!("sizeof CPOption<i32> {}", std::mem::size_of::<CPOption<i32>>());
}