summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-3037.rs
blob: ff4d32c284073ccccea0cecc1ab2f0140f485256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
#![allow(non_camel_case_types)]

enum what { }

fn what_to_string(x: what) -> String
{
    match x {
    }
}

pub fn main()
{
}