blob: a19ddc9a1b624ebe0e35d7927c37e5dd9e136192 [file] [log] [blame]
// Copyright (c) 2021, 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.
/// @assertion The modifier required is added as a built-in identifier. The
/// grammar of function types is extended to allow any named parameter
/// declaration to be prefixed by the required modifier (e.g. int Function(int,
/// {int? y, required int z}).
///
/// @description Checks that the 'required' word cannot be used as an import
/// prefix
/// @author sgrekhov@unipro.ru
import "dart:collection" as required;
// ^^^^^^^^
// [analyzer] unspecified
// [cfe] unspecified
main() {
required.HashMap map = new required.HashMap();
}