summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/issue-91134.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/issue-91134.rs')
-rw-r--r--src/test/rustdoc-ui/issue-91134.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/issue-91134.rs b/src/test/rustdoc-ui/issue-91134.rs
new file mode 100644
index 000000000..d2ff3a252
--- /dev/null
+++ b/src/test/rustdoc-ui/issue-91134.rs
@@ -0,0 +1,14 @@
+// compile-flags: --test --crate-name=empty_fn --extern=empty_fn --test-args=--test-threads=1
+// aux-build:empty-fn.rs
+// check-pass
+// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
+// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
+// edition:2021
+
+/// <https://github.com/rust-lang/rust/issues/91134>
+///
+/// ```
+/// extern crate empty_fn;
+/// empty_fn::empty();
+/// ```
+pub struct Something;