about summary refs log tree commit diff
path: root/tests/ui/issues/issue-3037.rs
blob: 933b450ac8ea77d10cc5072dec43c34c70331d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ run-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]

enum what { }

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

pub fn main()
{
}