blob: 86469217a3c6093dc6b714163bab4f97fa141a3a [file] [log] [blame]
// TODO(multitest): This was automatically migrated from a multitest and may
// contain strange or dead code.
// 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";
main() {
var b = new B();
Expect.equals(42, b.foo());
}
class A {
}
class B extends A {
foo() => 42;
bar() => 87;
}