rust/tests/ui/issues/issue-34932.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
324 B
Rust
Raw Normal View History

// run-pass
2016-07-21 23:03:13 +00:00
// 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";
}