Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
macros
/
macro-with-attrs2.rs
blob: 78c40810207061732afef685ffffe84e9cec0b36 [
file
] [
log
] [
blame
]
// run-pass
#[
cfg
(
foo
)]
macro_rules
!
foo
{
()
=>
(
1
)
}
#[
cfg
(
not
(
foo
))]
macro_rules
!
foo
{
()
=>
(
2
)
}
pub
fn
main
()
{
assert_eq
!(
foo
!(),
2
);
}