mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
433da1fc04
They pass fine.
9 lines
107 B
Rust
9 lines
107 B
Rust
extern crate a;
|
|
|
|
use a::foo;
|
|
|
|
fn main() {
|
|
let x = String::from("Hello");
|
|
println!("{}", foo(x));
|
|
}
|