diff --git a/tests/language/issue9664_test.dart b/tests/language/issue9664_test.dart new file mode 100644 index 00000000000..b8b3c2db6b6 --- /dev/null +++ b/tests/language/issue9664_test.dart @@ -0,0 +1,9 @@ +// Copyright (c) 2013, 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. + +// Regression test for http://dartbug.com/9664 + +main() { + while (true ? true : true) break; +} diff --git a/tests/language/language_dart2js.status b/tests/language/language_dart2js.status index 9f283098902..68028243a2a 100644 --- a/tests/language/language_dart2js.status +++ b/tests/language/language_dart2js.status @@ -130,6 +130,8 @@ getter_no_setter_test/01: Fail # http://dartbug.com/5519 isnot_malformed_type_test/01: Fail # http://dartbug.com/5519 not_enough_positional_arguments_test/01: Fail # http://dartbug.com/5519 +issue9664_test: Crash # http://dartbug.com/9664 + constructor_negative_test: Pass # Wrong reason: the expression 'C()' is valid with class literals. throw_expr_test: Fail