summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/functionRedeclConst.js
blob: fd7fec65590cd63add513e711386be4e6148a9bd (plain)
1
2
3
4
5
// |jit-test| error: SyntaxError
{
    const x = 0;
    function x() { }
}