]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-24687-embed-debuginfo/main.rs
resolve: Remove an incorrect assert
[rust.git] / src / test / ui / issues / issue-24687-embed-debuginfo / main.rs
1 // run-pass
2 // aux-build:issue-24687-lib.rs
3 // compile-flags:-g
4 // ignore-asmjs wasm2js does not support source maps yet
5
6 extern crate issue_24687_lib as d;
7
8 fn main() {
9     // Create a `D`, which has a destructor whose body will be codegen'ed
10     // into the generated code here, and thus the local debuginfo will
11     // need references into the original source locations from
12     // `importer` above.
13     let _d = d::D("Hi");
14 }