solidity/test/libsolidity/syntaxTests/errors/require_custom.sol
2021-03-30 21:15:46 +02:00

9 lines
211 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): No matching declaration found after argument-dependent lookup.