mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
147 B
Solidity
7 lines
147 B
Solidity
|
error E();
|
||
|
function f() pure {
|
||
|
E();
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError 7757: (35-38): Errors can only be used with revert statements: "revert MyError();".
|