rust/tests/ui/invalid/invalid-inline.rs
2023-01-11 09:32:08 +00:00

15 lines
175 B
Rust

#![allow(dead_code)]
#[inline(please,no)] //~ ERROR expected one argument
fn a() {
}
#[inline()] //~ ERROR expected one argument
fn b() {
}
fn main() {
a();
b();
}