diff options
Diffstat (limited to 'tests/rustdoc/src-link-external-macro-26606.rs')
-rw-r--r-- | tests/rustdoc/src-link-external-macro-26606.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/rustdoc/src-link-external-macro-26606.rs b/tests/rustdoc/src-link-external-macro-26606.rs new file mode 100644 index 000000000..de717a527 --- /dev/null +++ b/tests/rustdoc/src-link-external-macro-26606.rs @@ -0,0 +1,14 @@ +// aux-build:issue-26606-macro.rs +// ignore-cross-compile +// build-aux-docs + +// https://github.com/rust-lang/rust/issues/26606 +#![crate_name="issue_26606"] + +// @has issue_26606_macro/macro.make_item.html +#[macro_use] +extern crate issue_26606_macro; + +// @has issue_26606/constant.FOO.html +// @has - '//a[@href="../src/issue_26606/src-link-external-macro-26606.rs.html#14"]' 'source' +make_item!(FOO); |