Files
sdk/pkg/front_end/testcases/top_level_library_method.dart
T
Peter von der Ahé ea07157a0f Allow top-level method named library
Change-Id: I52ac5bcd38198c1b060cd9223828f59b7e9199f8
Reviewed-on: https://dart-review.googlesource.com/62807
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Dan Rubel <danrubel@google.com>
Commit-Queue: Peter von der Ahé <ahe@google.com>
2018-06-29 05:49:53 +00:00

10 lines
279 B
Dart

// Copyright (c) 2018, 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.
library() {
print("Hello, World!");
}
main() => library();