Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
raw_ref_op_invalid.rs
blob: 42ec63d7365860ac5f3c8fb72a89c0ac8881322b [
file
] [
log
] [
blame
]
// { dg-options "-fsyntax-only" }
#![
feature
(
raw_ref_op
)]
pub
struct
Toto
{
u
:
usize
,
}
pub
fn
test
(
mut
toto
:
Toto
)
{
let
_c
=
&
raw toto
.
u
;
//{ dg-error "expecting .;. but .identifier. found" "" { target *-*-* } }
}