solidity/test/libsolidity/syntaxTests/viewPureChecker/callvalue_payable_assembly_function.sol

9 lines
119 B
Solidity
Raw Normal View History

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