]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-4228.rs
Auto merge of #106827 - alexcrichton:update-llvm-to-15.0.7, r=cuviper
[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 }