mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
12 lines
326 B
Rust
12 lines
326 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";
|
|
}
|