diff --git a/test/language/expressions/generators/yield-as-binding-identifier.js b/test/language/expressions/generators/yield-as-binding-identifier.js deleted file mode 100644 index d90c5945ef..0000000000 --- a/test/language/expressions/generators/yield-as-binding-identifier.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (C) 2013 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- - description: > - `yield` is a reserved keyword within generator function bodies and may - not be used as a binding identifier. - es6id: 12.1.1 - negative: - phase: early - type: SyntaxError - ---*/ - -var g = function*() { - yield = 1; -}; diff --git a/test/language/expressions/generators/yield-as-label.js b/test/language/expressions/generators/yield-as-label.js deleted file mode 100644 index 2d95446bf4..0000000000 --- a/test/language/expressions/generators/yield-as-label.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (C) 2013 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- - description: > - `yield` is a reserved keyword within generator function bodies and may - not be used as a label. - es6id: 12.1.1 - negative: - phase: early - type: SyntaxError - ---*/ - -var g = function*() { - yield: 1; -}; diff --git a/test/language/expressions/object/method-definition/yield-as-binding-identifier.js b/test/language/expressions/object/method-definition/yield-as-binding-identifier.js deleted file mode 100644 index 20310e2e59..0000000000 --- a/test/language/expressions/object/method-definition/yield-as-binding-identifier.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2013 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- - description: > - `yield` is a reserved keyword within generator function bodies and may - not be used as a binding identifier. - features: [generators] - es6id: 12.1.1 - negative: - phase: early - type: SyntaxError - ---*/ - -var obj = { - *g() { - yield = 1; - } -}; diff --git a/test/language/expressions/object/method-definition/yield-as-label.js b/test/language/expressions/object/method-definition/yield-as-label.js deleted file mode 100644 index 6a9f15f16f..0000000000 --- a/test/language/expressions/object/method-definition/yield-as-label.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2013 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- - description: > - `yield` is a reserved keyword within generator function bodies and may - not be used as a label. - features: [generators] - es6id: 12.1.1 - negative: - phase: early - type: SyntaxError - ---*/ - -var obj = { - *g() { - yield: 1; - } -}; diff --git a/test/language/statements/class/definition/methods-gen-yield-as-binding-identifier.js b/test/language/statements/class/definition/methods-gen-yield-as-binding-identifier.js deleted file mode 100644 index ff2f57abb2..0000000000 --- a/test/language/statements/class/definition/methods-gen-yield-as-binding-identifier.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2013 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- - description: > - `yield` is a reserved keyword within generator function bodies and may - not be used as a binding identifier. - features: [generators] - es6id: 12.1.1 - negative: - phase: early - type: SyntaxError - ---*/ - -class A { - *g() { - yield = 1; - } -} diff --git a/test/language/statements/class/definition/methods-gen-yield-as-label.js b/test/language/statements/class/definition/methods-gen-yield-as-label.js deleted file mode 100644 index 6b9da37724..0000000000 --- a/test/language/statements/class/definition/methods-gen-yield-as-label.js +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (C) 2013 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- - description: > - `yield` is a reserved keyword within generator function bodies and may - not be used as a label. - features: [generators] - es6id: 12.1.1 - negative: - phase: early - type: SyntaxError - ---*/ - -class A { - *g() { - yield: 1; - } -} diff --git a/test/language/statements/generators/yield-as-binding-identifier.js b/test/language/statements/generators/yield-as-binding-identifier.js deleted file mode 100644 index e450378779..0000000000 --- a/test/language/statements/generators/yield-as-binding-identifier.js +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (C) 2013 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- - description: > - `yield` is a reserved keyword within generator function bodies and may - not be used as a binding identifier. - es6id: 12.1.1 - negative: - phase: early - type: SyntaxError - ---*/ - -var result; -function* g() { - yield = 1; -} - -result = g().next(); -assert.sameValue(result.value, undefined); -assert.sameValue(result.done, true); diff --git a/test/language/statements/generators/yield-as-label.js b/test/language/statements/generators/yield-as-label.js deleted file mode 100644 index 0da2b9a424..0000000000 --- a/test/language/statements/generators/yield-as-label.js +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (C) 2013 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- - description: > - `yield` is a reserved keyword within generator function bodies and may - not be used as a label. - es6id: 12.1.1 - negative: - phase: early - type: SyntaxError - ---*/ - -function* g() { - yield: 1; -}