]>
Commit | Line | Data |
---|---|---|
416331ca | 1 | // run-pass |
8faf50e0 XL |
2 | // This test checks if an unstable feature is enabled with the -Zcrate-attr=feature(foo) flag. If |
3 | // the exact feature used here is causing problems feel free to replace it with another | |
4 | // perma-unstable feature. | |
94b46f34 | 5 | |
8faf50e0 | 6 | // compile-flags: -Zcrate-attr=feature(abi_unadjusted) |
94b46f34 | 7 | |
8faf50e0 | 8 | #![allow(dead_code)] |
94b46f34 | 9 | |
8faf50e0 | 10 | extern "unadjusted" fn foo() {} |
0531ce1d | 11 | |
5bcae85e | 12 | fn main() {} |