solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/pc_disallowed.sol
2022-04-01 23:41:18 -05:00

10 lines
215 B
Solidity

contract C {
function f() pure public {
assembly {
pop(pc())
}
}
}
// ----
// SyntaxError 2450: (61-63='pc'): PC instruction is a low-level EVM feature. Because of that PC is disallowed in strict assembly.