]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cfg/cfg-match-arm.rs
Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree
[rust.git] / src / test / ui / cfg / cfg-match-arm.rs
1 // run-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 enum Foo {
6     Bar,
7     Baz,
8 }
9
10 fn foo(f: Foo) {
11     match f {
12         Foo::Bar => {},
13         #[cfg(not(asdfa))]
14         Foo::Baz => {},
15         #[cfg(afsd)]
16         Basdfwe => {}
17     }
18 }
19
20 pub fn main() {}