Debian Codegraph @

gcc/testsuite/rust/compile/enum_discriminant1.rs

raw
1 enum Foo {
2 Bar = 3 + 12,
3 }
4
5 fn test() -> Foo { // { dg-warning "function is never used" }
6 return Foo::Bar;
7 }