Debian Codegraph @

gcc/testsuite/rust/compile/raw_ref_op.rs

raw
1 // { dg-options "-fsyntax-only" }
2 #![feature(raw_ref_op)]
3
4 pub struct Toto {
5 u: usize,
6 }
7
8 pub fn test(mut toto: Toto) {
9 let _a = &raw mut toto.u;
10 let _b = &raw const toto.u;
11 }