summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/issue-18199.rs
blob: bc0c4a565029400f21f547828a0e5091444ad798 (plain)
1
2
3
4
5
6
7
8
9
// compile-flags:--test

#![doc(test(attr(feature(staged_api))))]

/// ```
/// #![unstable(feature="test", issue="18199")]
/// fn main() {}
/// ```
pub fn foo() {}