2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-04-22 23:54:48 -05:00
|
|
|
enum Foo {
|
|
|
|
Bar,
|
|
|
|
Baz,
|
|
|
|
}
|
|
|
|
|
|
|
|
fn foo(f: Foo) {
|
|
|
|
match f {
|
2014-11-06 02:05:53 -06:00
|
|
|
Foo::Bar => {},
|
2014-04-22 23:54:48 -05:00
|
|
|
#[cfg(not(asdfa))]
|
2014-11-06 02:05:53 -06:00
|
|
|
Foo::Baz => {},
|
2014-04-22 23:54:48 -05:00
|
|
|
#[cfg(afsd)]
|
|
|
|
Basdfwe => {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn main() {}
|