summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-24687-embed-debuginfo/main.rs
blob: 773792c7a3f1f3492ecf737a50ea7d5fa50eb6a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// aux-build:issue-24687-lib.rs
// compile-flags:-g

extern crate issue_24687_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");
}