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