Debian Codegraph @

gcc/testsuite/rust/compile/const10.rs

raw
1 const fn foo (a: &mut i32) { // { dg-error "mutable references are not allowed in constant functions" }
2 *a = 1;
3 }