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