Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
6af831ace693ed380c3dba78cf133ffdd6d460de
/
.
/
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
()
};
}