blob: f80470ad7bfbd0f167e618b2e8e09d0ecb671a47 [file] [log] [blame]
// 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.
// @dart = 2.7
/*spec:nnbd-off|prod:nnbd-off.class: A:direct,explicit=[A.T],needsArgs*/
/*spec:nnbd-sdk|prod:nnbd-sdk.class: A:direct,explicit=[A.T*],needsArgs*/
class A<T> {
m(T t) => t is T;
}
main() {
new A<int>().m(0);
}