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

6 lines
74 B
Solidity

contract D {}
contract C {
function f() public { new D(); }
}
// ----