Chromium Code Reviews| Index: tests/compiler/dart2js/cps_ir/expected/basic_3.js |
| diff --git a/tests/compiler/dart2js/cps_ir/expected/basic_3.js b/tests/compiler/dart2js/cps_ir/expected/basic_3.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3d8269ff337bb499e2d43294a4ee4487a2db63c8 |
| --- /dev/null |
| +++ b/tests/compiler/dart2js/cps_ir/expected/basic_3.js |
| @@ -0,0 +1,25 @@ |
| +// Expectation for test: |
| +// foo(a) { |
| +// print(a); |
| +// return a; |
| +// } |
| +// main() { |
| +// var a = 10; |
| +// var b = 1; |
| +// var t; |
| +// t = a; |
| +// a = b; |
| +// b = t; |
| +// print(a); |
| +// print(b); |
| +// print(b); |
| +// print(foo(a)); |
| +// } |
| + |
| +function() { |
| + P.print(1); |
| + P.print(10); |
| + P.print(10); |
| + P.print(1); |
| + P.print(1); |
| +} |