dart-sdk/tests/language_2/typedef_class_in_other_file_test.dart
Jens Johansen 09935d2163 Add test that currently crash DDC with kernel
Currently I get this when trying to compile with DDK:

```
Unhandled exception:
Concurrent modification during iteration: Instance(length:2) of '_GrowableList'.
<asynchronous suspension>
<asynchronous suspension>
<asynchronous suspension>
```

Bug:
Change-Id: I4d0cc88aeab4c9cab54a0d1f67ec5302110b2fe7
Reviewed-on: https://dart-review.googlesource.com/28580
Reviewed-by: Peter von der Ahé <ahe@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2017-12-12 12:25:10 +00:00

14 lines
443 B
Dart

// Copyright (c) 2017, 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 has crashed DDC with Kernel because of a
// "Concurrent modification during iteration" exception.
import 'typedef_class_in_other_file_helper.dart';
typedef bool Foo1(bool baz);
typedef bool Foo2(Bar baz);
main() {}