summaryrefslogtreecommitdiffstats
path: root/src/test/ui/z-crate-attr.rs
blob: 1021774fc5f3141f52afe6fb2e4438999ff587d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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() {}