1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// no-prefer-dynamic #![crate_type = "rlib"] // compile-flags:-g struct S1; impl S1 { fn f(&mut self) { } } struct S2; impl S2 { fn f(&mut self) { } }