blob: 4009329b421c5eefff0aa7f78dbe7cb359b170c3 [file] [log] [blame]
// Copyright (c) 2020, 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 AbstractClassInstantiationError(String _className)
/// Creates a new Object instance.
/// @description Checks that [null] is not allowed as a class name here and
/// causes compile time error.
/// @author iarkh
main() {
new AbstractClassInstantiationError(null);
// ^
// [analyzer] unspecified
// [cfe] unspecified
}