blob: 9d09dbf3e3df47e10941b1772ffe986cf9a006bd [file] [log] [blame]
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/*member: condition_true:doesNotComplete*/
void condition_true() {
for (; true;) {
1;
}
/*stmt: unreachable*/ 2;
}
/*member: condition_true_implicit:doesNotComplete*/
void condition_true_implicit() {
for (;;) {
1;
}
/*stmt: unreachable*/ 2;
}
void forEach() {
for (var _ in [0, 1, 2]) {
1;
return;
}
2;
}