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

12 lines
363 B
Solidity

contract C {
function f() view public {
assembly {
address
pop
}
}
}
// ----
// SyntaxError: (75-82): The use of non-functional instructions is disallowed. Please use functional notation instead.
// SyntaxError: (95-98): The use of non-functional instructions is disallowed. Please use functional notation instead.