Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
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
));
}