summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-49632.rs
blob: 155fd0d24ebe2fd6de17982672b15c46b9625ed7 (plain)
1
2
3
4
5
6
7
8
// run-pass
#![feature(stmt_expr_attributes)]

pub fn main() {
    let _x = #[inline(always)] || {};
    let _y = #[inline(never)] || {};
    let _z = #[inline] || {};
}