Index: test/mjsunit/regress/regress-parse-object-literal.js |
diff --git a/test/mjsunit/regress/regress-173361.js b/test/mjsunit/regress/regress-parse-object-literal.js |
similarity index 95% |
copy from test/mjsunit/regress/regress-173361.js |
copy to test/mjsunit/regress/regress-parse-object-literal.js |
index f9cfb6684c0d52996c7ceac8412defbaf48a5eeb..96d63c2c1285db91fa2d4d416545638bae2230ca 100644 |
--- a/test/mjsunit/regress/regress-173361.js |
+++ b/test/mjsunit/regress/regress-parse-object-literal.js |
@@ -25,9 +25,5 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --harmony |
- |
-const x = 7; |
- |
-function f() { const y = 8; } |
-f(); |
+// Should throw, not crash. |
+assertThrows("var o = { get /*space*/ () {} }"); |