solidity/test/libsolidity/syntaxTests/metaTypes/noArgForType.sol
2019-01-17 20:36:48 +01:00

8 lines
187 B
Solidity

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