Debian Codegraph @

gcc/testsuite/rust/compile/raw_ref_op_feature_gate.rs

raw
1 // { dg-options "-frust-compile-until=lowering" }
2 pub struct Toto {
3 u: usize,
4 }
5
6 pub fn test(mut toto: Toto) {
7 let _a = &raw mut toto.u; //{ dg-error "raw address of syntax is experimental." "" { target *-*-* } }
8 }