about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authortopecongiro <seuchida@gmail.com>2017-07-25 11:31:59 +0900
committertopecongiro <seuchida@gmail.com>2017-07-25 12:23:16 +0900
commit04aa5c1c76d516c065e3d3626887090cd05ded82 (patch)
treebfd80bf74fe0ce2b459b62f24724167e1db697ff /src/test/rustdoc
parent7c46c6c59dbee8d6385f8924fe27cc5a7893841f (diff)
downloadrust-04aa5c1c76d516c065e3d3626887090cd05ded82.tar.gz
rust-04aa5c1c76d516c065e3d3626887090cd05ded82.zip
Add tests for issues with the E-needstest label
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/issue-19181.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-19181.rs b/src/test/rustdoc/issue-19181.rs
new file mode 100644
index 00000000000..a2935b73596
--- /dev/null
+++ b/src/test/rustdoc/issue-19181.rs
@@ -0,0 +1,15 @@
+// Copyright 2017 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+// compile-flags:--test
+
+// rustdoc should not panic when target crate has compilation errors
+
+fn main() { 0 }