blob: 02ecee2c9396227f10b2d39c362ad5199ac9d7b6 [file] [log] [blame]
// Copyright (c) 2020, 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 An implementation is free to provide additional arguments allowed
/// by the signature of main (the above rules ensure that the corresponding
/// parameters are optional)
///
/// @description Checks that function 'main' may have optional named arguments
/// @author sgrekhov@unipro.ru
main(List<String> args, var i, {String s = "Lily was here"}) {
}