blob: 27fab8fc8972c92de8f9d4411d10ab424b54d3eb [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.
f() {
late int v;
assert((v = 0) >= 0, v);
// TODO(paulberry): `v` should be considered unassigned here, because the
// assert statement doesn't execute in release mode.
v;
}