mirror of https://github.com/tc39/test262.git
15 lines
391 B
JavaScript
15 lines
391 B
JavaScript
// Copyright (c) 2012 Ecma International. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
es5id: 11.1.5_4-4-d-2
|
|
description: Object literal - No SyntaxError for duplicate property name (set,set)
|
|
includes: [runTestCase.js]
|
|
---*/
|
|
|
|
function testcase() {
|
|
eval("({set foo(arg){}, set foo(arg1){}});");
|
|
return true;
|
|
}
|
|
runTestCase(testcase);
|