solidity/test/libsolidity/syntaxTests/inlineAssembly/pc.sol
2020-06-22 18:56:32 +02:00

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.