| Index: tests/language/positive_bit_operations_test.dart
|
| diff --git a/tests/language/positive_bit_operations_test.dart b/tests/language/positive_bit_operations_test.dart
|
| index 730d5cf861c4dc8aae742637527693e44889600d..86af1a1586a4d76f9fe94a43619bd0e57f6e956d 100644
|
| --- a/tests/language/positive_bit_operations_test.dart
|
| +++ b/tests/language/positive_bit_operations_test.dart
|
| @@ -108,8 +108,17 @@ speculative() {
|
| }
|
| }
|
|
|
| +// Due to bad precedence rules this example was broken in Dart2Js.
|
| +precedence() {
|
| + Expect.equals(0x80000000, -1 & 0x80000000);
|
| + Expect.equals(0x80000000, id(-1) & 0x80000000);
|
| + Expect.equals(0x80000000, ~(~(0x80000000)));
|
| + Expect.equals(0x80000000, ~(~(id(0x80000000))));
|
| +}
|
| +
|
| main() {
|
| constants();
|
| interceptors();
|
| speculative();
|
| + precedence();
|
| }
|
|
|