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

15 lines
266 B
Solidity
Raw Normal View History

2021-03-18 12:28:04 +00:00
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()