about summary refs log tree commit diff
path: root/src/test/rustdoc/issue-27362.rs
blob: 1cbba4b663df89dd20e9b61971384c9866b4dc84 (plain)
1
2
3
4
5
6
7
8
9
10
// aux-build:issue-27362-aux.rs
// ignore-cross-compile

extern crate issue_27362_aux;

pub use issue_27362_aux::*;

// @matches issue_27362/fn.foo.html '//pre' "pub const fn foo()"
// @matches issue_27362/fn.bar.html '//pre' "pub const unsafe fn bar()"
// @matches issue_27362/struct.Foo.html '//code' "const unsafe fn baz()"