Add crashing test case for for dartbug.com/9664.

R=erikcorry@google.com
BUG=

Review URL: https://codereview.chromium.org//13621002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20909 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
kasperl@google.com 2013-04-04 07:37:08 +00:00
parent 03b25fa640
commit fedee176c6
2 changed files with 11 additions and 0 deletions

View file

@ -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;
}

View file

@ -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