Sign in
fuchsia
/
third_party
/
rust
/
28af7e09581c3b39cdbf2850df2f157690ab7e56
/
.
/
tests
/
ui
/
rust-2024
/
unsafe-extern-blocks
/
unsafe-on-extern-block-issue-126756.rs
blob: edab9850d796f6d2234a96b95b43c0a99cc262e3 [
file
] [
log
] [
blame
]
//@ run-rustfix
#![
allow
(
dead_code
)]
extern
"C"
{
unsafe
fn
foo
();
//~ ERROR items in unadorned `extern` blocks cannot have safety qualifiers
}
fn
main
()
{}