solidity/test/libsolidity/syntaxTests/metaTypes/noArgForType.sol

8 lines
192 B
Solidity

contract Test {
function creation() public pure returns (bytes memory) {
type();
}
}
// ----
// TypeError 8885: (85-91): This function takes one argument, but 0 were provided.