blob: 68a81010468b81a4f5c6224e3bca370a21812cf3 [file] [log] [blame]
/*
* Copyright (c) 2011, 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.
*/
/**
* @assertion If no extends clause is specified, then either:
* - C is Object, which has no superclass. OR
* - The superclass of C is Object.
* @description Checks that in absence of an extends clause, a class still extends
* Object.
* @author msyabro
* @reviewer rodionov
*/
import "../../Utils/expect.dart";
class A {}
main() {
A a = new A();
Expect.isTrue(a is Object);
}