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

8 lines
191 B
Solidity

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