rust/tests/ui/nested-cfg-attrs.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
124 B
Rust
Raw Normal View History

2016-06-11 12:58:15 +08:00
#[cfg_attr(all(), cfg_attr(all(), cfg(foo)))]
fn f() {}
fn main() { f() } //~ ERROR cannot find function `f` in this scope