☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
raw_ref_op.rs
☽
☼
gcc/testsuite/rust/compile/raw_ref_op.rs
code
plain
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
}