blob: 6363618896f16a3d4c82f6f834775c5968c992dd [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.
main() {
late int lateLocal = 123;
expect(123, lateLocal);
expect(124, lateLocal = 124);
expect(124, lateLocal);
}
expect(expected, actual) {
if (expected != actual) throw 'Expected $expected, actual $actual';
}