Chromium Code Reviews| Index: tests/compiler/dart2js/cps_ir/expected/constructor_9.js |
| diff --git a/tests/compiler/dart2js/cps_ir/expected/constructor_9.js b/tests/compiler/dart2js/cps_ir/expected/constructor_9.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..05928b34cb99f85a308a0b89ba2e3867f8d7162c |
| --- /dev/null |
| +++ b/tests/compiler/dart2js/cps_ir/expected/constructor_9.js |
| @@ -0,0 +1,15 @@ |
| +// Expectation for test: |
| +// // Method to test: generative_constructor(C#) |
| +// class C<T> { |
| +// C() { print(T); } |
| +// foo() => print(T); |
| +// } |
| +// main() { |
| +// new C<int>(); |
| +// } |
| + |
| +function($T) { |
| + var v0 = H.setRuntimeTypeInfo(new V.C(), [$T]); |
| + v0.C$0(); |
| + return v0; |
| +} |