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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
105 B
Rust
Raw Permalink Normal View History

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