☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
const_trait_fn.rs
☽
☼
gcc/testsuite/rust/compile/const_trait_fn.rs
code
plain
raw
1
trait Osterkz {
2
const fn x();
3
// { dg-error "functions in traits cannot be declared .const." "" { target *-*-* } .-1 }
4
}