diff --git a/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES5.ts b/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES5.ts new file mode 100644 index 00000000000..dd10e552615 --- /dev/null +++ b/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES5.ts @@ -0,0 +1,6 @@ +// @target: es5 + +var a: any; + +({} = a); +([] = a); \ No newline at end of file diff --git a/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES6.ts b/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES6.ts new file mode 100644 index 00000000000..043f0cf1108 --- /dev/null +++ b/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES6.ts @@ -0,0 +1,6 @@ +// @target: es6 + +var a: any; + +({} = a); +([] = a); \ No newline at end of file