about summary refs log tree commit diff
path: root/tests/ui/issues/issue-4228.rs
blob: 362d5925c70859ee8359f2c2568ac739983febc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ run-pass

struct Foo;

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

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