blob: 86c3129da31d7ef783bd341c110e83f9520d2ae0 [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.
class Const<T> {
final T field;
const Const(this.field);
}
const Const<int> a = const Const<int>(0);
const Const<int?> b = const Const<int?>(0);
const Const<int?> c = const Const<int?>(null);
const Const<int>? d = const Const<int>(0);
const Const<int>? e = null;