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