Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
macros
/
macro-with-attrs2.rs
blob: 7d0bf91142532b75ddd35bd23c46a42ec1ad1f5e [
file
] [
log
] [
blame
]
//@ run-pass
#[
cfg
(
false
)]
macro_rules
!
foo
{
()
=>
(
1
)
}
#[
cfg
(
not
(
FALSE
))]
macro_rules
!
foo
{
()
=>
(
2
)
}
pub
fn
main
()
{
assert_eq
!(
foo
!(),
2
);
}