summary refs log tree commit diff
path: root/src/test/ui/feature-gates/feature-gate-allow_fail.rs
blob: f9ad48551410c785f74a724b52d0f86317d73337 (plain)
1
2
3
4
5
6
7
8
// check that #[allow_fail] is feature-gated

#[allow_fail] //~ ERROR allow_fail attribute is currently unstable
fn ok_to_fail() {
    assert!(false);
}

fn main() {}