mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
15 lines
430 B
Rust
15 lines
430 B
Rust
// run-pass
|
|
// aux-build:issue-24687-lib.rs
|
|
// compile-flags:-g
|
|
// ignore-asmjs wasm2js does not support source maps yet
|
|
|
|
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");
|
|
}
|