summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/annexB/language/statements/labeled/function-declaration.js
blob: ff3e9cf20776f6995fe71802428ed4398348b39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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() {}

label1: label2: function f() {}

reportCompare(0, 0);