diff options
Diffstat (limited to 'tests/rustdoc-ui/nested-extern-crate-46271.rs')
-rw-r--r-- | tests/rustdoc-ui/nested-extern-crate-46271.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/nested-extern-crate-46271.rs b/tests/rustdoc-ui/nested-extern-crate-46271.rs new file mode 100644 index 000000000..d2ac38f3e --- /dev/null +++ b/tests/rustdoc-ui/nested-extern-crate-46271.rs @@ -0,0 +1,8 @@ +// check-pass +// hopefully this doesn't cause an ICE + +// https://github.com/rust-lang/rust/issues/46271 + +pub fn foo() { + extern crate std; +} |