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>
17 lines
367 B
Dart
17 lines
367 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: C:checks=[],instance*/
|
|
class C {}
|
|
|
|
@pragma('dart2js:noInline')
|
|
test(o) => o is C;
|
|
|
|
main() {
|
|
test(new C());
|
|
test(null);
|
|
}
|