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