blob: 49dc8a808e1f3f5dd58bfaa428e7d38eb04a8b54 [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.
// It is an error if a potentially non-nullable local variable which has no
// initializer expression and is not marked `late` is used before it is
// definitely assigned.
f(bool b) {
int v;
while (true) {
v = 0;
if (b) break;
}
v;
}
void main() {}