Skip to content

Commit

Permalink
add a test for #60976
Browse files Browse the repository at this point in the history
The test fails on 1.36.0 but passes on master.
  • Loading branch information
kingslef committed Jan 23, 2020
1 parent e0bbe79 commit ad1cdec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/ui/use/auxiliary/extern-use-primitive-type-lib.rs
@@ -0,0 +1,3 @@
// compile-flags: --edition=2018

pub use u32;
7 changes: 7 additions & 0 deletions src/test/ui/use/issue-60976-extern-use-primitive-type.rs
@@ -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() {}

0 comments on commit ad1cdec

Please sign in to comment.