Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
da873169707da0bdbc8a53d51bf1272ef6d365b8
/
.
/
src
/
test
/
run-fail
/
promoted_overflow.rs
blob: 3c42da4b1d8ed43dc787499a2592b5b2748b4e18 [
file
] [
log
] [
blame
]
#![
allow
(
arithmetic_overflow
)]
// error-pattern: overflow
// compile-flags: -C overflow-checks=yes
fn
main
()
{
let
x
:
&
'
static
u32
=
&(
0u32
-
1
);
}