]> git.proxmox.com Git - rustc.git/blame - src/test/run-pass/issue24687-embed-debuginfo.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / run-pass / issue24687-embed-debuginfo.rs
CommitLineData
bd371182
AL
1// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2// file at the top-level directory of this distribution and at
3// http://rust-lang.org/COPYRIGHT.
4//
5// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8// option. This file may not be copied, modified, or distributed
9// except according to those terms.
10
11// aux-build:issue24687_lib.rs
d9579d0f 12// compile-flags:-g
bd371182
AL
13
14extern crate issue24687_lib as d;
15
16fn main() {
17 // Create a d, which has a destructor whose body will be trans'ed
18 // into the generated code here, and thus the local debuginfo will
19 // need references into the original source locations from
20 // `importer` above.
21 let _d = d::D("Hi");
22}