summaryrefslogtreecommitdiff
path: root/src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case
diff options
context:
space:
mode:
Diffstat (limited to 'src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case')
-rw-r--r--src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case
index 3540f3dd1..630e67a07 100644
--- a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case
+++ b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-obj.case
@@ -15,6 +15,8 @@ info: >
[ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ]
---*/
+//- setup
+throw "Test262: This statement should not be evaluated.";
//- elems
[...{ x }, y]
//- vals