mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +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())
|
|
}
|