mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
330 B
Solidity
18 lines
330 B
Solidity
contract C {
|
|
function f() public pure {
|
|
assembly {
|
|
revert(0, 0)
|
|
revert(0, 0)
|
|
}
|
|
}
|
|
function g() public pure {
|
|
assembly {
|
|
revert(0, 0)
|
|
}
|
|
revert();
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (100-112): Unreachable code.
|
|
// Warning: (222-230): Unreachable code.
|