diff options
| author | Jeremy Fitzhardinge <jeremy@goop.org> | 2021-01-09 18:45:19 -0800 |
|---|---|---|
| committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2021-01-11 10:44:46 -0800 |
| commit | d7ce9d5b6d43a78cc6ac47d653b372fbada01edc (patch) | |
| tree | abb6d1d5fa6265c6774c9f1434dc4211cfd40421 | |
| parent | 67978d56c11006a10d286153226f18e18367aa32 (diff) | |
| download | rust-d7ce9d5b6d43a78cc6ac47d653b372fbada01edc.tar.gz rust-d7ce9d5b6d43a78cc6ac47d653b372fbada01edc.zip | |
test for issue 80832
| -rw-r--r-- | src/test/pretty/expanded-and-path-remap-80832.pp | 13 | ||||
| -rw-r--r-- | src/test/pretty/expanded-and-path-remap-80832.rs | 7 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/test/pretty/expanded-and-path-remap-80832.pp b/src/test/pretty/expanded-and-path-remap-80832.pp new file mode 100644 index 00000000000..6dbc19e9d9c --- /dev/null +++ b/src/test/pretty/expanded-and-path-remap-80832.pp @@ -0,0 +1,13 @@ +#![feature(prelude_import)] +#![no_std] +#[prelude_import] +use ::std::prelude::v1::*; +#[macro_use] +extern crate std; +// Test for issue 80832 +// +// pretty-mode:expanded +// pp-exact:expanded-and-path-remap-80832.pp +// compile-flags: --remap-path-prefix {{src-base}}=the/src + +fn main() { } diff --git a/src/test/pretty/expanded-and-path-remap-80832.rs b/src/test/pretty/expanded-and-path-remap-80832.rs new file mode 100644 index 00000000000..f48441fbc57 --- /dev/null +++ b/src/test/pretty/expanded-and-path-remap-80832.rs @@ -0,0 +1,7 @@ +// Test for issue 80832 +// +// pretty-mode:expanded +// pp-exact:expanded-and-path-remap-80832.pp +// compile-flags: --remap-path-prefix {{src-base}}=the/src + +fn main() {} |
