blob: 119a48d5d652989befeb316b49d809f27092ad30 (
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() {}
|