Sign in
fuchsia
/
third_party
/
rust
/
b60f245b9542142ed01318a7ab5b46fc2ffb283e
/
.
/
src
/
test
/
pretty
/
attr-literals.rs
blob: bcd6ffaaf815b6cf443f43c750bdf89d48db8076 [
file
] [
log
] [
blame
]
// Tests literals in attributes.
// pp-exact
#![
feature
(
rustc_attrs
)]
fn
main
()
{
#![
rustc_dummy
(
"hi"
,
1
,
2
,
1.012
,
pi
=
3.14
,
bye
,
name
(
"John"
))]
#[
rustc_dummy
=
8
]
fn
f
()
{
}
#[
rustc_dummy
(
1
,
2
,
3
)]
fn
g
()
{
}
}