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

15 lines
266 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): Error signature hash collision for tgeo()