Chromium Code Reviews| Index: tests/compiler/dart2js/inference/data/simple.dart |
| diff --git a/tests/compiler/dart2js/inference/data/simple.dart b/tests/compiler/dart2js/inference/data/simple.dart |
| index b152304c789b1e0edb1a7ff3287d49d438de961b..f424a350d489e8a728a7841d4dfe2a2670a832ea 100644 |
| --- a/tests/compiler/dart2js/inference/data/simple.dart |
| +++ b/tests/compiler/dart2js/inference/data/simple.dart |
| @@ -2,5 +2,22 @@ |
| // 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. |
| +/*zero:[exact=JSUInt31]*/ |
| +zero() => 0; |
| + |
| +/*one:[exact=JSUInt31]*/ |
| +one() => 1; |
| + |
| +/*half:[exact=JSDouble]*/ |
| +half() => 0.5; |
| + |
| +/*large:[subclass=JSUInt32]*/ |
| +large() => 2147483648; |
| + |
| /*main:[null]*/ |
| -main() {} |
| +main() { |
| + zero(); |
| + one(); |
| + half(); |
| + large(); |
|
Siggi Cherem (dart-lang)
2017/08/28 22:34:57
maybe add something that doesn't fit in 32 bit as
Johnni Winther
2017/08/29 08:31:25
Done.
|
| +} |