blob: 611de09fad66933b6937ce94ff767f917119e717 [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
}