]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/fat-arrow-match.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / binding / fat-arrow-match.rs
1 // run-pass
2 #![allow(dead_code)]
3 #![allow(non_camel_case_types)]
4
5 enum color {
6     red,
7     green,
8     blue
9 }
10
11 pub fn main() {
12     println!("{}", match color::red {
13         color::red => { 1 }
14         color::green => { 2 }
15         color::blue => { 3 }
16     });
17 }