summary refs log tree commit diff
path: root/tests/debuginfo/issue-7712.rs
blob: 35e6b10c4e584670b41aa62535edd1f281eb2834 (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();
}