Sign in
fuchsia
/
third_party
/
rust
/
03222c037142e915e9ea75f681ab98a5a46b8739
/
.
/
src
/
test
/
run-fail
/
promoted_div_by_zero.rs
blob: 3fe51a19c20bb6fc7ae9ab81410d23041cf10eb9 [
file
] [
log
] [
blame
]
#![
allow
(
const_err
)]
// error-pattern: attempt to divide by zero
fn
main
()
{
let
x
=
&(
1
/
(
1
-
1
));
}