blob: 8503d7f6424b29d85e8208fb2f14dcb805cfeb18 [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.
// Wildcard variables are enabled by default.
main() {
int _ = 1;
_ = 2;
// [error column 3, length 1]
// [analyzer] COMPILE_TIME_ERROR.UNDEFINED_UNQUALIFIED_NAME_WRITE
// [cfe] Setter not found: '_'.
}