mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 20:35:53 +00:00
20 lines
243 B
Rust
20 lines
243 B
Rust
//@ 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() {}
|