summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-ffi_pure.rs
blob: b0dfa01ff4c20e438dbee6c57920819725e44d61 (plain)
1
2
3
4
5
6
#![crate_type = "lib"]

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