summaryrefslogtreecommitdiff
path: root/tests/ui/test-attrs/issue-34932.rs
blob: ab568fd01efc5811d8f9e257fa7df387e180ec37 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// compile-flags:--test
#![cfg(any())] // This test should be configured away
#![feature(rustc_attrs)] // Test that this is allowed on stable/beta
#![feature(iter_arith_traits)] // Test that this is not unused
#![deny(unused_features)]

#[test]
fn dummy() {
    let () = "this should not reach type-checking";
}