Skip to content

Commit ad1cdec

Browse files
committed
add a test for #60976
The test fails on 1.36.0 but passes on master.
1 parent e0bbe79 commit ad1cdec

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// compile-flags: --edition=2018
2+
3+
pub use u32;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Regression test for #60976: ICE (with <=1.36.0) when another file had `use <primitive_type>;`.
2+
// check-pass
3+
// aux-build:extern-use-primitive-type-lib.rs
4+
5+
extern crate extern_use_primitive_type_lib;
6+
7+
fn main() {}

0 commit comments

Comments
 (0)