about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authormitaa <mitaa.ceb@gmail.com>2015-11-11 22:10:21 +0100
committermitaa <mitaa.ceb@gmail.com>2015-11-13 09:05:38 +0100
commit02f9a491310ed0949b4240798cb452e4bb34651e (patch)
tree0aa8980286d6750ced92700bd7d33c6139fd6ec4 /src/test/rustdoc
parentf1f5c04c07f2e888c43cb577810659a7c1d87a00 (diff)
Store a valid name for the root module in metadata
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/issue-28927.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-28927.rs b/src/test/rustdoc/issue-28927.rs
new file mode 100644
index 00000000000..b3096a94962
--- /dev/null
+++ b/src/test/rustdoc/issue-28927.rs
@@ -0,0 +1,16 @@
+// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+// aux-build:issue-28927-2.rs
+// aux-build:issue-28927-1.rs
+// ignore-cross-compile
+
+extern crate issue_28927_1 as inner1;
+pub use inner1 as foo;