// Test that parenthesized class expressions don't get their toString offsets
// messed up.

assertEq((class {}).toString(), "class {}");
assertEq(((class {})).toString(), "class {}");

if (typeof reportCompare === "function")
    reportCompare(0, 0, "OK");