]> git.lizzy.rs Git - rust.git/blob - src/test/debuginfo/issue-7712.rs
Rollup merge of #93206 - ChrisDenton:ntopenfile, r=nagisa
[rust.git] / src / test / 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 }