Chromium Code Reviews| Index: tests/compiler/dart2js/cps_ir/expected/constructor_12.js |
| diff --git a/tests/compiler/dart2js/cps_ir/expected/constructor_12.js b/tests/compiler/dart2js/cps_ir/expected/constructor_12.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d892327bcf8957bfe3a7ea0766da8bb812527413 |
| --- /dev/null |
| +++ b/tests/compiler/dart2js/cps_ir/expected/constructor_12.js |
| @@ -0,0 +1,17 @@ |
| +// Expectation for test: |
| +// class Foo { |
| +// factory Foo.make(x) { |
| +// print('Foo'); |
| +// return new Foo.create(x); |
| +// } |
| +// var x; |
| +// Foo.create(this.x); |
| +// } |
| +// main() { |
| +// print(new Foo.make(5)); |
| +// } |
| + |
| +function() { |
| + P.print("Foo"); |
| + P.print(new V.Foo(5)); |
| +} |