mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
266 B
Solidity
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()
|