From fa1d125ae6b8dd4a472510ef3478daaff831ae2c Mon Sep 17 00:00:00 2001 From: Phlosioneer Date: Sat, 31 Mar 2018 00:50:53 -0400 Subject: [PATCH] Add test for rustdoc ignore test This will check for regression on issue #32556 --- src/test/rustdoc/issue-32556.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/test/rustdoc/issue-32556.rs diff --git a/src/test/rustdoc/issue-32556.rs b/src/test/rustdoc/issue-32556.rs new file mode 100644 index 00000000000..a9f191989fe --- /dev/null +++ b/src/test/rustdoc/issue-32556.rs @@ -0,0 +1,17 @@ +// Copyright 2016 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 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +/// Blah blah blah +/// ``` ignore +/// bad_assert!(); +/// ``` +pub fn foo() {} + +