summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/check.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/check.rs')
-rw-r--r--src/test/rustdoc/check.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/rustdoc/check.rs b/src/test/rustdoc/check.rs
new file mode 100644
index 000000000..1fb4b35dd
--- /dev/null
+++ b/src/test/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() {}