2018-08-30 14:18:55 +02:00
|
|
|
//@ run-pass
|
2019-03-12 00:49:17 +00:00
|
|
|
//@ aux-build:issue-24687-lib.rs
|
2015-04-29 18:58:42 +02:00
|
|
|
//@ compile-flags:-g
|
2015-04-29 10:21:47 +02:00
|
|
|
|
2019-03-12 00:49:17 +00:00
|
|
|
extern crate issue_24687_lib as d;
|
2015-04-29 10:21:47 +02:00
|
|
|
|
|
|
|
fn main() {
|
2019-03-12 00:49:17 +00:00
|
|
|
// Create a `D`, which has a destructor whose body will be codegen'ed
|
2015-04-29 10:21:47 +02:00
|
|
|
// 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");
|
|
|
|
}
|