rust/tests/debuginfo/issue-7712.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
248 B
Rust
Raw Normal View History

// compile-flags:-C debuginfo=1
// min-lldb-version: 310
2014-12-19 11:54:09 +00:00
pub trait TraitWithDefaultMethod : Sized {
fn method(self) {
()
}
}
struct MyStruct;
impl TraitWithDefaultMethod for MyStruct { }
pub fn main() {
MyStruct.method();
}