Sign in
fuchsia
/
third_party
/
rust
/
b82c5249961a6bd3ecacb98c68f9090892ec2615
/
.
/
tests
/
ui
/
attributes
/
unsafe
/
double-unsafe-attributes.rs
blob: a6c0ea578f25a5768fe58b93b6fc7bc75cea7f0f [
file
] [
log
] [
blame
]
#![
feature
(
unsafe_attributes
)]
#[
unsafe
(
unsafe
(
no_mangle
))]
//~^ ERROR expected identifier, found keyword `unsafe`
//~| ERROR cannot find attribute `r#unsafe` in this scope
//~| ERROR `r#unsafe` is not an unsafe attribute
fn
a
()
{}
fn
main
()
{}