mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +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(())
|
|
}
|
|
}
|