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

9 lines
201 B
Solidity

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.