gccrs: Handle `async` functions in traits
[official-gcc.git] / gcc / testsuite / rust / compile / empty_comment_before_match.rs
blob3d344d3e7588ecb37aef05c2dd0ea01e467bb8d9
1 fn foo (x: i8) -> i32 { // { dg-warning "function is never used" }
2     //
3     match x {
4         1 => { return 1; }
5         _ => { return 0; }
6     }