rust/tests/compile-fail/attrs.rs
2015-05-30 15:10:19 +02:00

13 lines
217 B
Rust

#![feature(plugin)]
#![plugin(clippy)]
#[deny(inline_always)]
#[inline(always)] //~ERROR You have declared #[inline(always)] on test_attr_lint.
fn test_attr_lint() {
assert!(true)
}
fn main() {
test_attr_lint()
}