summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/block-scope/syntax/redeclaration-global/allowed-to-redeclare-var-with-function-declaration.js
blob: 84dc183b7fa34d3a2eaeb46865eb2c8da3b0130f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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: >
    redeclaration outermost:
    allowed to redeclare var with function declaration
---*/
var f; function f() {}


reportCompare(0, 0);