summaryrefslogtreecommitdiffstats
path: root/tests/ui/nested-cfg-attrs.rs
blob: c988d42337346c17b087b91a2e6f4345cf9222ed (plain)
1
2
3
4
#[cfg_attr(all(), cfg_attr(all(), cfg(foo)))]
fn f() {}

fn main() { f() } //~ ERROR cannot find function `f` in this scope