summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doctest/test-compile-fail2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/doctest/test-compile-fail2.rs')
-rw-r--r--tests/rustdoc-ui/doctest/test-compile-fail2.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/doctest/test-compile-fail2.rs b/tests/rustdoc-ui/doctest/test-compile-fail2.rs
new file mode 100644
index 000000000..651ded0a0
--- /dev/null
+++ b/tests/rustdoc-ui/doctest/test-compile-fail2.rs
@@ -0,0 +1,3 @@
+// compile-flags:--test
+
+fail