solidity/test/libsolidity/syntaxTests/viewPureChecker/creation_no_restrict_warning.sol

6 lines
74 B
Solidity
Raw Normal View History

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