solidity/test/libsolidity/syntaxTests/errors/require_custom.sol

9 lines
211 B
Solidity
Raw Normal View History

2021-02-24 09:55:49 +00:00
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.