Chromium Code Reviews| Index: tests/compiler/dart2js/dead_bailout_target_test.dart |
| =================================================================== |
| --- tests/compiler/dart2js/dead_bailout_target_test.dart (revision 21860) |
| +++ tests/compiler/dart2js/dead_bailout_target_test.dart (working copy) |
| @@ -14,7 +14,12 @@ |
| foo([]); |
| } |
| +class A { |
| + operator -() => this; |
| +} |
| + |
| foo(a) { |
| + new A(); // Force having another operator- |
| // Make the method recursive to always enable bailouts |
| // and force a list instantiation. |
| foo([]); |