Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
cfg
/
cfg-match-arm.rs
blob: cb5bf0ab065397b9dcf4a9c4fb71cd8c2ffb4c5d [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
dead_code
)]
enum
Foo
{
Bar
,
Baz
,
}
fn
foo
(
f
:
Foo
)
{
match
f
{
Foo
::
Bar
=>
{},
#[
cfg
(
not
(
FALSE
))]
Foo
::
Baz
=>
{},
#[
cfg
(
false
)]
Basdfwe
=>
{}
}
}
pub
fn
main
()
{}