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