blob: c3cb1d20aad1f934371dd09a74ba2a0ea4aae826 [file] [log] [blame]
// TODO(multitest): This was automatically migrated from a multitest and may
// contain strange or dead code.
// @dart = 2.9
// Copyright (c) 2012, 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.
class A {
const A(a);
const A.named({a: 42});
const A.optional([a]);
}
main() {
const A(1);
const A.named();
const A.optional();
const A.optional(42);
}