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

8 lines
187 B
Solidity
Raw Normal View History

2019-01-10 11:11:55 +00:00
contract Test {
function creation() public pure returns (bytes memory) {
type();
}
}
// ----
// TypeError: (85-91): This function takes one argument, but 0 were provided.