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

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/supercall_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 // class Base {
3 // m(x) {
4 // print(x+1);
5 // }
6 // }
7 // class Sub extends Base {
8 // m(x) => super.m(x+10);
9 // }
10 // main() {
11 // new Sub().m(100);
12 // }
13
14 function() {
15 var v0 = "" + (100 + 10 + 1);
16 V.Sub$();
17 if (typeof dartPrint == "function")
18 dartPrint(v0);
19 else if (typeof console == "object" && typeof console.log != "undefined")
20 console.log(v0);
21 else if (!(typeof window == "object")) {
22 if (!(typeof print == "function"))
23 throw "Unable to print message: " + String(v0);
24 print(v0);
25 }
26 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/runtime_types_4.js ('k') | tests/compiler/dart2js/cps_ir/expected/supercall_2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698