summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/playground-empty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/playground-empty.rs')
-rw-r--r--src/test/rustdoc/playground-empty.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/rustdoc/playground-empty.rs b/src/test/rustdoc/playground-empty.rs
new file mode 100644
index 000000000..7d8bd3ffe
--- /dev/null
+++ b/src/test/rustdoc/playground-empty.rs
@@ -0,0 +1,13 @@
+#![crate_name = "foo"]
+
+#![doc(html_playground_url = "")]
+
+// compile-flags:-Z unstable-options --playground-url https://play.rust-lang.org/
+
+//! module docs
+//!
+//! ```
+//! println!("Hello, world!");
+//! ```
+
+// @!has foo/index.html '//a[@class="test-arrow"]' "Run"