summaryrefslogtreecommitdiffstats
path: root/src/test/ui/cross-crate/issue-64872/auxiliary/c_another_vtable_for_obj.rs
blob: 611238f56173ae9a0cf1b1e017601908492cb460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// no-prefer-dynamic
// compile-flags: -C debuginfo=2
#![crate_type="rlib"]

extern crate b_reexport_obj;
use b_reexport_obj::Object;

pub fn another_dyn_debug() {
    let ref u = 1_u32;
    let _d = &u as &dyn crate::Object;
    _d.method()
}