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

Side by Side Diff: pkg/kernel/testcases/input/argument.dart

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
« no previous file with comments | « pkg/kernel/testcases/input/DeltaBlue.dart ('k') | pkg/kernel/testcases/input/arithmetic.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 abstract class Base {}
2
3 class Foo extends Base {}
4
5 class Bar extends Base {}
6
7 class Baz extends Base {}
8
9 void foo(x) {}
10
11 void bar(x) {}
12
13 void foo_escaped(x) {}
14
15 void bar_escaped(x) {}
16
17 void escape(fn) {
18 fn(new Baz());
19 }
20
21 main() {
22 foo(new Foo());
23 bar(new Bar());
24 escape(foo_escaped);
25 escape(bar_escaped);
26 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/input/DeltaBlue.dart ('k') | pkg/kernel/testcases/input/arithmetic.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698