mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
13 lines
350 B
Rust
13 lines
350 B
Rust
// run-pass
|
|
// This test checks if an unstable feature is enabled with the -Zcrate-attr=feature(foo) flag. If
|
|
// the exact feature used here is causing problems feel free to replace it with another
|
|
// perma-unstable feature.
|
|
|
|
// compile-flags: -Zcrate-attr=feature(abi_unadjusted)
|
|
|
|
#![allow(dead_code)]
|
|
|
|
extern "unadjusted" fn foo() {}
|
|
|
|
fn main() {}
|