Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
14
tests/codegen/remap_path_prefix/xcrate-generic.rs
Normal file
14
tests/codegen/remap_path_prefix/xcrate-generic.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
// ignore-windows
|
||||
// compile-flags: -g -C metadata=foo -C no-prepopulate-passes
|
||||
// aux-build:xcrate-generic.rs
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
extern crate xcrate_generic;
|
||||
|
||||
pub fn foo() {
|
||||
xcrate_generic::foo::<u32>();
|
||||
}
|
||||
|
||||
// Here we check that local debuginfo is mapped correctly.
|
||||
// CHECK: !DIFile(filename: "/the/aux-src/xcrate-generic.rs", directory: ""
|
Loading…
Add table
Add a link
Reference in a new issue