blob: 1da79e27c73462346c8d0ad796baceda3939340c [file] [log] [blame]
// Copyright (c) 2019, 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 C {
final Set<int> s;
C(List<int> ell) : s = {for (var e in ell) if (e.isOdd) 2 * e};
}
// @dart=2.9
main() {}