]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/z-crate-attr.rs
Rollup merge of #60685 - dtolnay:spdx, r=nikomatsakis
[rust.git] / src / test / run-pass / z-crate-attr.rs
1 // This test checks if an unstable feature is enabled with the -Zcrate-attr=feature(foo) flag. If
2 // the exact feature used here is causing problems feel free to replace it with another
3 // perma-unstable feature.
4
5 // compile-flags: -Zcrate-attr=feature(abi_unadjusted)
6
7 #![allow(dead_code)]
8
9 extern "unadjusted" fn foo() {}
10
11 fn main() {}