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

9 lines
201 B
Solidity
Raw Normal View History

2021-02-24 09:55:49 +00:00
error E(uint a, uint b);
contract C {
function f() public pure {
revert(E(2, 7));
}
}
// ----
// TypeError 9322: (77-83): No matching declaration found after argument-dependent lookup.