From c7fe783d11cf7914083e33e405376431e5ebb33e Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Tue, 4 Oct 2022 16:45:21 +0000 Subject: [PATCH] Language test for unnamed-libraries Bug: https://github.com/dart-lang/language/issues/1073 Change-Id: I9d57c86c35b5712029c610197e6ad823d34c492e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262580 Commit-Queue: Samuel Rawlins Reviewed-by: Erik Ernst --- tests/language/library/unnamed_library_test.dart | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/language/library/unnamed_library_test.dart 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() {}