PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-pass/alt-path.rs

http://github.com/jruderman/rust
Rust | 9 lines | 5 code | 4 blank | 0 comment | 0 complexity | fa5f47bf2610e9c9ea23e101a2ef79a4 MD5 | raw file
1
2
3mod m1 {
4    enum foo { foo1, foo2, }
5}
6
7fn bar(x: m1::foo) { match x { m1::foo1 => { } m1::foo2 => { } } }
8
9fn main() { }