mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
226 B
Solidity
12 lines
226 B
Solidity
function f()
|
|
{
|
|
new D();
|
|
}
|
|
|
|
contract D
|
|
{
|
|
receive() external payable { f; }
|
|
}
|
|
// ----
|
|
// TypeError 7813: (16-21): Circular reference to contract bytecode either via "new" or "type(...).creationCode" / "type(...).runtimeCode".
|