| Index: tests/compiler/dart2js/js_backend_cps_ir_test.dart
|
| diff --git a/tests/compiler/dart2js/js_backend_cps_ir_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_test.dart
|
| index df21e239e9825f043c0d19478d6a0a47c1e64cb8..d332bcbea4f30de110975089fac202cc34912cc9 100644
|
| --- a/tests/compiler/dart2js/js_backend_cps_ir_test.dart
|
| +++ b/tests/compiler/dart2js/js_backend_cps_ir_test.dart
|
| @@ -25,6 +25,28 @@ class TestEntry {
|
|
|
| /// The list of tests to run.
|
| const List<TestEntry> tests = const [
|
| + const TestEntry("""
|
| +foo(a, [b = "b"]) => b;
|
| +bar(a, {b: "b", c: "c"}) => c;
|
| +main() {
|
| + foo(0);
|
| + foo(0, 1);
|
| + bar(0);
|
| + bar(0, b: 1);
|
| + bar(0, c: 1);
|
| + bar(0, b: 1, c: 2);
|
| +}
|
| +""",
|
| +"""
|
| +function() {
|
| + V.foo(0, "b");
|
| + V.foo(0, 1);
|
| + V.bar(0, "b", "c");
|
| + V.bar(0, 1, "c");
|
| + V.bar(0, "b", 1);
|
| + V.bar(0, 1, 2);
|
| + return null;
|
| +}"""),
|
| const TestEntry(
|
| """
|
| foo(a) {
|
|
|