add a test for #60976

The test fails on 1.36.0 but passes on master.
This commit is contained in:
Tuomas Lappeteläinen 2020-01-23 15:16:16 +02:00
parent e0bbe7915e
commit ad1cdecaeb
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
// compile-flags: --edition=2018
pub use u32;

View File

@ -0,0 +1,7 @@
// Regression test for #60976: ICE (with <=1.36.0) when another file had `use <primitive_type>;`.
// check-pass
// aux-build:extern-use-primitive-type-lib.rs
extern crate extern_use_primitive_type_lib;
fn main() {}