]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-24687-embed-debuginfo/main.rs
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / issues / issue-24687-embed-debuginfo / main.rs
1 // run-pass
2 // aux-build:issue-24687-lib.rs
3 // compile-flags:-g
4
5 extern crate issue_24687_lib as d;
6
7 fn main() {
8 // Create a `D`, which has a destructor whose body will be codegen'ed
9 // into the generated code here, and thus the local debuginfo will
10 // need references into the original source locations from
11 // `importer` above.
12 let _d = d::D("Hi");
13 }