Files
rust/tests/ui/enum/zero-variant-enum-pattern-matching-3037.rs

17 lines
211 B
Rust
Raw Permalink Normal View History

2025-07-13 16:39:45 -04:00
// https://github.com/rust-lang/rust/issues/3037
//@ run-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]
enum what { }
fn what_to_string(x: what) -> String
{
2012-08-06 12:34:08 -07:00
match x {
}
}
pub fn main()
{
}