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

Side by Side Diff: pkg/kernel/testcases/interpreter/static_invocation_test.dart

Issue 2841803002: Add initial tests for Kernel interpreter (Closed)
Patch Set: Remove some tests 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
(Empty)
1 library static_invocation_test;
2
3 void main() {
4 a();
5 b(1, 9);
6 print(b(1, 9));
7 var retD = d();
8 print(c(37));
9 print(retD);
10 }
11
12 void a() {}
13
14 void b(int n, int m) {
15 print(n);
16 print(m);
17 print(n + m);
18 }
19
20 String c(int n) {
21 print('c:$n');
22 return "d:${d()}";
23 }
24
25 int d() {
26 a();
27 return 37;
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698