Debian Codegraph @

gcc/testsuite/rust/compile/wrong_lhs_assignment.rs

raw
1 fn foo() {
2 1 = 3; // { dg-error "assignment of read-only location" }
3 }
4
5 fn main() {
6 foo();
7 }