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

Side by Side Diff: pkg/front_end/testcases/arithmetic.dart.strong.expect

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 static method foo(core::int x, core::int y) → core::int { 5 static method foo(core::int x, core::int y) → core::int {
6 core::int z = x.{core::num::+}(y); 6 core::int z = x.{core::num::+}(y);
7 return z.{core::int::<<}(4); 7 return z.{core::int::<<}(4);
8 } 8 }
9 static method loop(core::List<dynamic> xs) → void { 9 static method loop(core::List<dynamic> xs) → void {
10 core::int _ = xs.{core::List::length}; 10 core::int _ = xs.{core::List::length};
11 for (core::int i = 0; i.{core::num::<}(xs.{core::List::length}); i = i.{core:: num::+}(1)) { 11 for (core::int i = 0; i.{core::num::<}(xs.{core::List::length}); i = i.{core:: num::+}(1)) {
12 } 12 }
13 } 13 }
14 static method main() → dynamic { 14 static method main() → dynamic {
15 self::foo(4, 5); 15 self::foo(4, 5);
16 self::foo(6, 7); 16 self::foo(6, 7);
17 self::loop(<dynamic>["dfg"]); 17 self::loop(<dynamic>["dfg"]);
18 } 18 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/arithmetic.dart.outline.expect ('k') | pkg/front_end/testcases/async_function.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698