Debian Codegraph @

gcc/testsuite/rust/compile/const1.rs

raw
1 fn bar() {}
2
3 const fn foo() {
4 bar(); // { dg-error "only functions marked as .const. are allowed to be called from constant contexts" }
5 }
6