Debian Codegraph @

gcc/testsuite/rust/compile/const_trait_fn.rs

raw
1 trait Osterkz {
2 const fn x();
3 // { dg-error "functions in traits cannot be declared .const." "" { target *-*-* } .-1 }
4 }