blob: 158f97479d3ce40bfb0330643ac56415f2b1568a [file] [log] [blame]
// Copyright (c) 2012, 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:expect/expect.dart";
class A {
get className => runtimeType;
main() {
Expect.isTrue(new A().className is Type);
Expect.isTrue(null.runtimeType is Type);
Expect.equals(null.runtimeType, Null);