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

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/constructor_4.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 Base0 {
3 // Base0() {
4 // print('Base0');
5 // }
6 // }
7 // class Base extends Base0 {
8 // var x;
9 // Base(x1) : x = (() => ++x1) {
10 // print(x1); // use boxed x1
11 // }
12 // }
13 // class Sub extends Base {
14 // var y;
15 // Sub(x, this.y) : super(x) {
16 // print(x);
17 // }
18 // }
19 // main() {
20 // print(new Sub(1, 2).x);
21 // }
22
23 function() {
24 var _box_0 = {};
25 _box_0.x1 = 1;
26 P.print("Base0");
27 P.print(_box_0.x1);
28 P.print(1);
29 P.print(new V.Base_closure(_box_0));
30 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/constructor_3.js ('k') | tests/compiler/dart2js/cps_ir/expected/constructor_5.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698