rust/tests/ui/feature-gates/feature-gate-ffi_pure.rs

7 lines
138 B
Rust

#![crate_type = "lib"]
extern "C" {
#[ffi_pure] //~ ERROR the `#[ffi_pure]` attribute is an experimental feature
pub fn foo();
}