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