| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // VMOptions=--optimization_counter_threshold=10 --no-use-osr | 4 // VMOptions=--optimization_counter_threshold=10 --no-use-osr |
| 5 | 5 |
| 6 import "package:expect/expect.dart"; | 6 import "package:expect/expect.dart"; |
| 7 | 7 |
| 8 class X { | 8 class X { |
| 9 operator * (other) => "NaNNaNNaNNaNBatman"; | 9 operator * (other) => "NaNNaNNaNNaNBatman"; |
| 10 } | 10 } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 Expect.isTrue(baz(-1 << 63)); | 32 Expect.isTrue(baz(-1 << 63)); |
| 33 } | 33 } |
| 34 Expect.isFalse(foo(new X())); | 34 Expect.isFalse(foo(new X())); |
| 35 assert(() { | 35 assert(() { |
| 36 Expect.isFalse(bar(new X())); | 36 Expect.isFalse(bar(new X())); |
| 37 return true; | 37 return true; |
| 38 }); | 38 }); |
| 39 Expect.isFalse(baz(new X())); | 39 Expect.isFalse(baz(new X())); |
| 40 } | 40 } |
| 41 | 41 |
| OLD | NEW |