blob: b73a61a0108bdc02ab11d9fe7a858316095bb061 [file] [log] [blame]
// Copyright (c) 2015, 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.
// This is a regression test for issue 2238
import "dart:async";
import "package:expect/expect.dart";
import "package:async_helper/async_helper.dart";
main() {
f() async* {
label1: label2: yield 0;
f().toList().then((list) {
Expect.listEquals([0], list);