7e39d33f05
Change-Id: I8a7e031045811962998229d25463c74b88ca311e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156140 Commit-Queue: Joshua Litt <joshualitt@google.com> Reviewed-by: Stephen Adams <sra@google.com>
20 lines
429 B
Dart
20 lines
429 B
Dart
// 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
|
|
|
|
/*class: B:checks=[],indirectInstance*/
|
|
class B {}
|
|
|
|
/*class: C:checks=[],instance*/
|
|
class C extends B {}
|
|
|
|
@pragma('dart2js:noInline')
|
|
test(o) => o is B;
|
|
|
|
main() {
|
|
test(new C());
|
|
test(null);
|
|
}
|