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

8 lines
196 B
Solidity
Raw Normal View History

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