Add equivalent test in src/test/rustdoc

This commit is contained in:
Loïc BRANSTETT 2021-10-15 12:56:47 +02:00
parent 55fad29903
commit e259cc46a6
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// edition:2018
#![no_core]
#![feature(no_core)]
// @count issue_89852/index.html '//*[@class="macro"]' 2
// @has - '//*[@class="macro"]/@href' 'macro.repro.html'
#[macro_export]
macro_rules! repro {
() => {};
}
// @!has issue_89852/macro.repro.html '//*[@class="macro"]/@content' 'repro2'
pub use crate::repro as repro2;