summaryrefslogtreecommitdiff
path: root/src/dstr-assignment/array-rest-nested-array-invalid.case
diff options
context:
space:
mode:
Diffstat (limited to 'src/dstr-assignment/array-rest-nested-array-invalid.case')
-rw-r--r--src/dstr-assignment/array-rest-nested-array-invalid.case2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dstr-assignment/array-rest-nested-array-invalid.case b/src/dstr-assignment/array-rest-nested-array-invalid.case
index 0163c4e00..68ef352a7 100644
--- a/src/dstr-assignment/array-rest-nested-array-invalid.case
+++ b/src/dstr-assignment/array-rest-nested-array-invalid.case
@@ -14,6 +14,8 @@ negative:
type: SyntaxError
---*/
+//- setup
+throw "Test262: This statement should not be evaluated.";
//- elems
[...[(x, y)]]
//- vals