mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Mark EVM instruction pc() as deprecated when used in inline assembly.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
contract C {
|
||||
function f() pure public {
|
||||
assembly {
|
||||
pop(pc())
|
||||
}
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (61-63): The "pc" instruction is deprecated and will be removed in the next breaking release.
|
||||
Reference in New Issue
Block a user