blob: cb5bf0ab065397b9dcf4a9c4fb71cd8c2ffb4c5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//@ 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() {}
|