summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/playground-none.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/playground-none.rs')
-rw-r--r--tests/rustdoc/playground-none.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc/playground-none.rs b/tests/rustdoc/playground-none.rs
new file mode 100644
index 000000000..ff51c68d8
--- /dev/null
+++ b/tests/rustdoc/playground-none.rs
@@ -0,0 +1,9 @@
+#![crate_name = "foo"]
+
+//! module docs
+//!
+//! ```
+//! println!("Hello, world!");
+//! ```
+
+// @!has foo/index.html '//a[@class="test-arrow"]' "Run"