rust/tests/ui/test-attrs/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 18:03:13 -05: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";
}