]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-4228.rs
Rollup merge of #106867 - sunfishcode:sunfishcode/std-os-fd-stable-version, r=m-ou-se
[rust.git] / tests / ui / issues / issue-4228.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 struct Foo;
5
6 impl Foo {
7     fn first() {}
8 }
9 impl Foo {
10     fn second() {}
11 }
12
13 pub fn main() {
14     Foo::first();
15     Foo::second();
16 }