solidity/test/libsolidity/syntaxTests/viewPureChecker/callvalue_payable_assembly_function.sol
2019-03-19 20:45:27 +01:00

9 lines
119 B
Solidity

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