summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-4228.rs
blob: 491000b6510a8bb3c83d8230cd40644f2e6d3f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// run-pass
// pretty-expanded FIXME #23616

struct Foo;

impl Foo {
    fn first() {}
}
impl Foo {
    fn second() {}
}

pub fn main() {
    Foo::first();
    Foo::second();
}