]> git.lizzy.rs Git - rust.git/blob - tests/debuginfo/issue-7712.rs
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[rust.git] / tests / debuginfo / issue-7712.rs
1 // compile-flags:-C debuginfo=1
2 // min-lldb-version: 310
3
4 pub trait TraitWithDefaultMethod : Sized {
5     fn method(self) {
6         ()
7     }
8 }
9
10 struct MyStruct;
11
12 impl TraitWithDefaultMethod for MyStruct { }
13
14 pub fn main() {
15     MyStruct.method();
16 }