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

15 lines
273 B
Solidity

library L {
error gsf();
}
contract test {
error tgeo();
function f(bool a) public {
if (a)
revert L.gsf();
else
revert tgeo();
}
}
// ----
// TypeError 4883: (57-61='tgeo'): Error signature hash collision for tgeo()