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
250 B
Rust
Raw Normal View History

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