diff --git a/tests/language/library/unnamed_library_test.dart b/tests/language/library/unnamed_library_test.dart new file mode 100644 index 00000000000..71d2fce0f05 --- /dev/null +++ b/tests/language/library/unnamed_library_test.dart @@ -0,0 +1,11 @@ +// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code as governed by a +// BSD-style license that can be found in the LICENSE file. + +// SharedOptions=--enable-experiment=unnamed-libraries + +/// Doc comment. +@deprecated +library; + +main() {}