rust/tests/ui/issues/issue-3037.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
195 B
Rust
Raw Normal View History

//@ run-pass
#![allow(dead_code)]
//@ pretty-expanded FIXME #23616
#![allow(non_camel_case_types)]
enum what { }
fn what_to_string(x: what) -> String
{
2012-08-06 19:34:08 +00:00
match x {
}
}
pub fn main()
{
}