☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
redef_error5.rs
☽
☼
gcc/testsuite/rust/compile/redef_error5.rs
code
plain
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() {}