]> git.lizzy.rs Git - rust.git/blob - src/test/ui/ffi_pure.rs
Rollup merge of #101388 - compiler-errors:issue-101376, r=fee1-dead
[rust.git] / src / test / ui / ffi_pure.rs
1 #![feature(ffi_pure)]
2 #![crate_type = "lib"]
3
4 #[ffi_pure] //~ ERROR `#[ffi_pure]` may only be used on foreign functions
5 pub fn foo() {}