mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
contract C {
|
||||
constructor() internal {}
|
||||
abstract contract C {
|
||||
constructor() {}
|
||||
}
|
||||
contract D {
|
||||
function f() public { C c = new C(); c; }
|
||||
}
|
||||
// ----
|
||||
// TypeError 9054: (84-89): Contract with internal constructor cannot be created directly.
|
||||
// TypeError 4614: (84-89): Cannot instantiate an abstract contract.
|
||||
|
||||
Reference in New Issue
Block a user