solidity/test/libsolidity/syntaxTests/inlineAssembly/pc.sol
2020-06-03 12:49:23 +02:00

10 lines
205 B
Solidity

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