summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/check.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/check.rs')
-rw-r--r--tests/rustdoc/check.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc/check.rs b/tests/rustdoc/check.rs
new file mode 100644
index 000000000..1fb4b35dd
--- /dev/null
+++ b/tests/rustdoc/check.rs
@@ -0,0 +1,5 @@
+// compile-flags: -Z unstable-options --check
+
+// @!has check/fn.foo.html
+// @!has check/index.html
+pub fn foo() {}