solidity/test/libsolidity/syntaxTests/bytecodeReferences/circular_reference_internal_function.sol
2021-04-20 17:38:29 +02:00

13 lines
236 B
Solidity

contract C
{
// Internal uncalled function should not cause an cyclic dep. error
function foo() internal { new D(); }
function callFoo() virtual public { foo(); }
}
contract D is C
{
function callFoo() override public {}
}
// ----