Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
0e3ee39c41462652f41993a5610265abea6daa96
/
.
/
src
/
test
/
compile-fail
/
while-loop-constraints.rs
blob: 4c97aae704256b2864d8ccd35914c2eafe2006bd [
file
] [
log
] [
blame
]
// xfail-stage0
// error-pattern: Unsatisfied precondition constraint (for example, init(y
fn
main
()
{
let
int y
=
42
;
let
int x
;
while
(
true
)
{
log
y
;
while
(
true
)
{
while
(
true
)
{
while
(
true
)
{
x
<-
y
;
}
}
}
}
}