blob: 8de76db27c5c473e7d8959d349ba2360def3ab33 [file] [log] [blame]
// Copyright (c) 2011, 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.
// @dart = 2.9
main() {
L: while (false) {
if (true) break L;
// Illegal: L is out of scope.
continue L;
// [cfe] A continue statement can't be used outside of a loop or switch statement.
// ^
// [cfe] Can't find label 'L'.