Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
ffi_const2.rs
blob: 4bd9637f0832c74286d11040519eaa01512f0be4 [
file
] [
log
] [
blame
]
#![
feature
(
ffi_const
,
ffi_pure
)]
extern
{
#[
ffi_pure
]
//~ ERROR `#[ffi_const]` function cannot be `#[ffi_pure]`
#[
ffi_const
]
pub
fn
baz
();
}
fn
main
()
{
unsafe
{
baz
()
};
}