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

9 lines
210 B
Solidity

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