summary refs log tree commit diff
path: root/src/test/run-pass/issues/issue24687-embed-debuginfo/main.rs
blob: a0cda4fad26f53a41cb6a95592bb96356b688a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// aux-build:issue24687_lib.rs
// compile-flags:-g

extern crate issue24687_lib as d;

fn main() {
    // Create a d, which has a destructor whose body will be codegen'ed
    // into the generated code here, and thus the local debuginfo will
    // need references into the original source locations from
    // `importer` above.
    let _d = d::D("Hi");
}