#![deny(unused_attributes)]
trait Trait {
#[inline] //~ ERROR `#[inline]` is ignored on function prototypes
fn foo();
}
extern "C" {
fn main() {}