summaryrefslogtreecommitdiffstats
path: root/src/test/debuginfo/issue-7712.rs
blob: 3a7565f559a78e86f53da8380dd7ad0c46945ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// compile-flags:-C debuginfo=1
// min-lldb-version: 310

pub trait TraitWithDefaultMethod : Sized {
    fn method(self) {
        ()
    }
}

struct MyStruct;

impl TraitWithDefaultMethod for MyStruct { }

pub fn main() {
    MyStruct.method();
}