blob: 763d175ff69b80bc4e83db77b4842083dc6bb68d [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.
import 'package:meta/dart2js.dart';
/*class: B:*/
class B {}
/*class: C:checks=[$isB]*/
class C implements B {}
@noInline
test(o) => o is B;
main() {
test(new C());
test(null);
}