mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 05:51:37 +00:00
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:
parent
03b25fa640
commit
fedee176c6
9
tests/language/issue9664_test.dart
Normal file
9
tests/language/issue9664_test.dart
Normal 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;
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue