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 *-*-* } }
}