mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
433da1fc04
They pass fine.
9 lines
95 B
Rust
9 lines
95 B
Rust
#![crate_type="lib"]
|
|
pub struct Foo(());
|
|
|
|
impl Foo {
|
|
pub fn new() -> Foo {
|
|
Foo(())
|
|
}
|
|
}
|