]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cfg/cfg-match-arm.rs
Merge commit '0c89065b934397b62838fe3e4ef6f6352fc52daf' into libgccjit-codegen
[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() {}