Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
run-make
/
box-struct-no-segfault
/
main.rs
blob: 1a456af48e8d711af3d23e762e25f7b51c50d601 [
file
] [
log
] [
blame
]
#![
crate_type
=
"lib"
]
extern
crate foo
;
use
foo
::
Foo
;
pub
fn
crash
()
->
Box
<
Foo
>
{
Box
::
new
(
Foo
::
new
())
}