]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-ffi_pure.rs
Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup
[rust.git] / src / test / ui / feature-gates / feature-gate-ffi_pure.rs
1 #![crate_type = "lib"]
2
3 extern "C" {
4     #[ffi_pure] //~ ERROR the `#[ffi_pure]` attribute is an experimental feature
5     pub fn foo();
6 }