mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +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())
|
|
}
|