Debian Codegraph @

gcc/testsuite/rust/compile/redef_error5.rs

raw
1 struct Foo(i32, bool);
2
3 impl Foo {
4 const TEST: i32 = 123;
5 const TEST: bool = false; // { dg-error "defined multiple times" }
6 }
7
8 fn main() {}