]> git.lizzy.rs Git - rust.git/blob - tests/ui/cross-crate/issue-64872/auxiliary/c_another_vtable_for_obj.rs
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[rust.git] / tests / ui / cross-crate / issue-64872 / auxiliary / c_another_vtable_for_obj.rs
1 // no-prefer-dynamic
2 // compile-flags: -C debuginfo=2
3 #![crate_type="rlib"]
4
5 extern crate b_reexport_obj;
6 use b_reexport_obj::Object;
7
8 pub fn another_dyn_debug() {
9     let ref u = 1_u32;
10     let _d = &u as &dyn crate::Object;
11     _d.method()
12 }