Debian Codegraph @

gcc/testsuite/rust/compile/name_resolution22.rs

raw
1 // { dg-options "-frust-name-resolution-2.0" }
2 struct Marker;
3 struct Foo(Marker);
4
5 fn Foo(m: Marker) {} // { dg-error ".Foo. defined multiple times" }