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

7 lines
140 B
Rust

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