summaryrefslogtreecommitdiff
path: root/src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case
diff options
context:
space:
mode:
Diffstat (limited to 'src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case')
-rw-r--r--src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case
index 4a7b66f86..8b3f55115 100644
--- a/src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.case
+++ b/src/dstr-binding-for-await/ary-ptrn-rest-not-final-ary.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