Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
macro-with-attrs2.rs
blob: 37188e45ad3b509bc2763e9ce2eb81ebe4cad262 [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
#[
cfg
(
FALSE
)]
macro_rules
!
foo
{
()
=>
(
1
)
}
#[
cfg
(
not
(
FALSE
))]
macro_rules
!
foo
{
()
=>
(
2
)
}
pub
fn
main
()
{
assert_eq
!(
foo
!(),
2
);
}