// |reftest| error:SyntaxError // Copyright (C) 2023 Ron Buckton. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-declarative-environment-records-initializebinding-n-v description: > Redeclaration error within strict mode function inside non-strict code. negative: phase: parse type: SyntaxError flags: [noStrict, explicit-resource-management] ---*/ $DONOTEVALUATE(); (function() { 'use strict'; { using f = null; var f; } })