summaryrefslogtreecommitdiffstats
path: root/tests/run-make/rustdoc-scrape-examples-test/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/rustdoc-scrape-examples-test/src')
-rw-r--r--tests/run-make/rustdoc-scrape-examples-test/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-make/rustdoc-scrape-examples-test/src/lib.rs b/tests/run-make/rustdoc-scrape-examples-test/src/lib.rs
new file mode 100644
index 000000000..22be1ad41
--- /dev/null
+++ b/tests/run-make/rustdoc-scrape-examples-test/src/lib.rs
@@ -0,0 +1,3 @@
+// @has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' ''
+
+pub fn ok() {}