| Index: test/cctest/test-parsing.cc
|
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
|
| index b0dc786132ffffc72ea4f79eb12b331abb5f8a59..92061f7f3f07b126ad5d120035d2311dbac51ba2 100644
|
| --- a/test/cctest/test-parsing.cc
|
| +++ b/test/cctest/test-parsing.cc
|
| @@ -6820,6 +6820,11 @@ TEST(DestructuringAssignmentNegativeTests) {
|
| "[x, y, ...[z] = [1]]",
|
| "[...[z] = [1]]",
|
|
|
| + "[...++x]",
|
| + "[...x--]",
|
| + "[...!x]",
|
| + "[...x + y]",
|
| +
|
| // v8:4657
|
| "({ x: x4, x: (x+=1e4) })",
|
| "(({ x: x4, x: (x+=1e4) }))",
|
|
|