2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2018-08-31 15:02:01 +02:00
|
|
|
#![allow(non_camel_case_types)]
|
2011-06-15 11:19:50 -07:00
|
|
|
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2011-01-27 15:50:19 -05:00
|
|
|
mod m1 {
|
2013-01-30 15:56:40 -08:00
|
|
|
pub enum foo { foo1, foo2, }
|
2011-01-27 15:50:19 -05:00
|
|
|
}
|
2011-06-15 11:19:50 -07:00
|
|
|
|
2014-11-06 00:05:53 -08:00
|
|
|
fn bar(x: m1::foo) { match x { m1::foo::foo1 => { } m1::foo::foo2 => { } } }
|
2011-06-15 11:19:50 -07:00
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() { }
|