Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/argument_refinement_num_1.js

Issue 1576093003: cpsir unittests: move all unittests into individual files and test runners. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Expectation for test:
2 // main() {
3 // var x = int.parse('1233');
4 // var y = int.parse('1234');
5 // print(x is num);
6 // print(y is num);
7 // print(x - y);
8 // print(x is num);
9 // print(y is num); // will be compiled to `true` if we know the type of `y`.
10 // }
11
12 function() {
13 var x = P.int_parse("1233", null, null), y = P.int_parse("1234", null, null);
14 P.print(typeof x === "number");
15 P.print(typeof y === "number");
16 P.print(J.$sub$n(x, y));
17 P.print(true);
18 P.print(true);
19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698