rust/tests/run-make/box-struct-no-segfault/foo.rs

9 lines
105 B
Rust

#![crate_type = "lib"]
pub struct Foo(());
impl Foo {
pub fn new() -> Foo {
Foo(())
}
}