rust/src/test/ui/issues/issue-34932.rs
2020-07-26 13:24:19 +02:00

11 lines
324 B
Rust

// 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";
}