summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-30252.rs
blob: c3777362a66d94f88d29d5524d4f0b43889ae002 (plain)
1
2
3
4
5
6
// compile-flags:--test --cfg feature="bar"

/// ```rust
/// assert_eq!(cfg!(feature = "bar"), true);
/// ```
pub fn foo() {}