blob: 865b036703a8449f4963339cbf1869effc7f1003 [file]
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// A local function declaration named `_` is non-binding and cannot be accessed.
void main() {
void _() {}
_();
// [error column 3, length 1]
// [analyzer] COMPILE_TIME_ERROR.UNDEFINED_UNQUALIFIED_NAME_READ
// [cfe] Method not found: '_'.
}