summaryrefslogtreecommitdiffstats
path: root/tests/ui/conditional-compilation/cfg-attr-invalid-predicate.rs
blob: 496d196c94ae57cbfe107f45964b8990ea00b855 (plain)
1
2
3
4
#[cfg(foo(bar))] //~ ERROR invalid predicate `foo`
fn check() {}

fn main() {}