Skip to content

Commit

Permalink
Add equivalent test in src/test/rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Oct 15, 2021
1 parent 55fad29 commit e259cc4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/test/rustdoc/issue-89852.rs
@@ -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;

0 comments on commit e259cc4

Please sign in to comment.