diff options
Diffstat (limited to 'tests/rustdoc/strip-priv-imports-pass-27104.rs')
-rw-r--r-- | tests/rustdoc/strip-priv-imports-pass-27104.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rustdoc/strip-priv-imports-pass-27104.rs b/tests/rustdoc/strip-priv-imports-pass-27104.rs new file mode 100644 index 000000000..e400a8f50 --- /dev/null +++ b/tests/rustdoc/strip-priv-imports-pass-27104.rs @@ -0,0 +1,13 @@ +// compile-flags:--no-defaults --passes strip-priv-imports +// aux-build:empty.rs +// ignore-cross-compile + +// https://github.com/rust-lang/rust/issues/27104 +#![crate_name="issue_27104"] + +// @has issue_27104/index.html +// @!hasraw - 'extern crate std' +// @!hasraw - 'use std::prelude::' + +// @hasraw - 'pub extern crate empty' +pub extern crate empty; |