solidity/test/libsolidity/syntaxTests/viewPureChecker/callvalue_payable_assembly_function.sol
2021-04-20 17:38:29 +02:00

10 lines
127 B
Solidity

contract C
{
function f(uint x) public payable {
assembly {
x := callvalue()
}
}
}
// ----