solidity/test/libsolidity/syntaxTests/errors/require_custom.sol
2022-04-01 23:41:18 -05:00

9 lines
221 B
Solidity

error E(uint a, uint b);
contract C {
function f(bool c) public pure {
require(c, E(2, 7));
}
}
// ----
// TypeError 9322: (83-90='require'): No matching declaration found after argument-dependent lookup.