Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
2477.rs
blob: 1282781115638f14c3bfc26876c9fbc565b9a416 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
const
FOO
:
u32
=
return
0
;
// { dg-error "return statement outside of function body" "" { target *-*-* } .-1 }
// { dg-error "mismatched types, expected .u32. but got" "" { target *-*-* } .-2 }