summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/issues/issue-98690.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/issues/issue-98690.rs')
-rw-r--r--tests/rustdoc-ui/issues/issue-98690.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/issues/issue-98690.rs b/tests/rustdoc-ui/issues/issue-98690.rs
new file mode 100644
index 000000000..fe9bd87ab
--- /dev/null
+++ b/tests/rustdoc-ui/issues/issue-98690.rs
@@ -0,0 +1,10 @@
+// compile-flags: --test --persist-doctests /../../ -Z unstable-options
+// failure-status: 101
+// only-linux
+
+#![crate_name = "foo"]
+
+//! ```rust
+//! use foo::dummy;
+//! dummy();
+//! ```