summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern/auxiliary/reexport-should-still-link.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/extern/auxiliary/reexport-should-still-link.rs')
-rw-r--r--tests/ui/extern/auxiliary/reexport-should-still-link.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/extern/auxiliary/reexport-should-still-link.rs b/tests/ui/extern/auxiliary/reexport-should-still-link.rs
new file mode 100644
index 000000000..237ea8dfc
--- /dev/null
+++ b/tests/ui/extern/auxiliary/reexport-should-still-link.rs
@@ -0,0 +1,5 @@
+pub use foo::bar;
+
+mod foo {
+ pub fn bar() {}
+}