1 // Check that `#[cfg_attr($PREDICATE,)]` triggers the `unused_attribute` lint.
3 // compile-flags: --cfg TRUE
7 #[cfg_attr(FALSE,)] //~ ERROR `#[cfg_attr]` does not expand to any attributes
10 #[cfg_attr(TRUE,)] //~ ERROR `#[cfg_attr]` does not expand to any attributes