mirror of
https://github.com/tc39/test262.git
synced 2025-10-03 15:08:48 +02:00
The "mainline" tests in Test262 are converging on a more formal structure. Files are organized as tests for either either "language" (e.g. syntax-driven) or "built-in" (e.g. API-driven). "Language" test locations are themselves structured according to whether the syntactic form under test is an Expression or a Statement. To limit ambiguity when locating/adding tests, re-organize the tests for Annex B extensions to match this structure.
12 lines
308 B
JavaScript
12 lines
308 B
JavaScript
// Copyright (C) 2011 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
es6id: 13.1
|
|
description: >
|
|
function declarations in statement position in non-strict mode:
|
|
label: Statement
|
|
flags: [noStrict]
|
|
---*/
|
|
label: function g() {}
|
|
|