solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/pc_disallowed.sol

10 lines
210 B
Solidity

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