Index: test/mjsunit/regress/regress-parse-object-literal.js |
diff --git a/test/mjsunit/regress/regress-parse-object-literal.js b/test/mjsunit/regress/regress-parse-object-literal.js |
index 96d63c2c1285db91fa2d4d416545638bae2230ca..93725ebadb3c74ae37b19e08b5c049595df69835 100644 |
--- a/test/mjsunit/regress/regress-parse-object-literal.js |
+++ b/test/mjsunit/regress/regress-parse-object-literal.js |
@@ -24,6 +24,8 @@ |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// (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: --noharmony-classes --noharmony-object-literals |
// Should throw, not crash. |
assertThrows("var o = { get /*space*/ () {} }"); |