blob: cdea8e4d091f18e99b02f6a50948355a3d7bc333 [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.
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'.