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

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

8 lines
112 B
Rust
Raw Normal View History

#![crate_type = "lib"]
extern crate foo;
use foo::Foo;
pub fn crash() -> Box<Foo> {
Box::new(Foo::new())
}