rust/tests/ui/feature-gates/feature-gate-ffi_pure.rs
2023-01-11 09:32:08 +00:00

7 lines
138 B
Rust

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