rust/tests/debuginfo/issue-7712.rs
2023-01-11 09:32:08 +00:00

17 lines
248 B
Rust

// 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();
}