mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
433da1fc04
They pass fine.
8 lines
108 B
Rust
8 lines
108 B
Rust
#![crate_type="lib"]
|
|
extern crate foo;
|
|
use foo::Foo;
|
|
|
|
pub fn crash() -> Box<Foo> {
|
|
Box::new(Foo::new())
|
|
}
|